diff options
author | Liang Chen <liangchen.linux@gmail.com> | 2023-12-15 06:30:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-17 13:56:33 +0300 |
commit | aaf153aecef1d1831d0d6d371d5c11cf02f0337e (patch) | |
tree | a915186aa9c55df5259cbb82435540f75eb9d6e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 66fe896351d0505f529eefe4715f6c669f49cbd9 (diff) | |
download | linux-aaf153aecef1d1831d0d6d371d5c11cf02f0337e.tar.xz |
page_pool: halve BIAS_MAX for multiple user references of a fragment
Up to now, we were only subtracting from the number of used page fragments
to figure out when a page could be freed or recycled. A following patch
introduces support for multiple users referencing the same fragment. So
reduce the initial page fragments value to half to avoid overflowing.
Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Mina Almasry <almarsymina@google.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions