aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorLiang Chen <[email protected]>2023-12-15 11:30:09 +0800
committerDavid S. Miller <[email protected]>2023-12-17 10:56:33 +0000
commitaaf153aecef1d1831d0d6d371d5c11cf02f0337e (patch)
treea915186aa9c55df5259cbb82435540f75eb9d6e9 /tools/testing/selftests/bpf/progs/test_autoload.c
parent66fe896351d0505f529eefe4715f6c669f49cbd9 (diff)
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 <[email protected]> Reviewed-by: Yunsheng Lin <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions