diff options
author | Liang Chen <liangchen.linux@gmail.com> | 2023-12-12 07:46:11 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-14 05:35:16 +0300 |
commit | 0a149ab78ee220c75eef797abea7a29f4490e226 (patch) | |
tree | 5d9dc405446c68232bd0e066e35daa1bd141df40 /include/net/gtp.h | |
parent | bc044ae9d64b1b23fa3a3aa5c162afec8348b412 (diff) | |
download | linux-0a149ab78ee220c75eef797abea7a29f4490e226.tar.xz |
page_pool: transition to reference count management after page draining
To support multiple users referencing the same fragment,
'pp_frag_count' is renamed to 'pp_ref_count', transitioning pp pages
from fragment management to reference count management after draining
based on the suggestion from [1].
The idea is that the concept of fragmenting exists before the page is
drained, and all related functions retain their current names.
However, once the page is drained, its management shifts to being
governed by 'pp_ref_count'. Therefore, all functions associated with
that lifecycle stage of a pp page are renamed.
[1]
http://lore.kernel.org/netdev/f71d9448-70c8-8793-dc9a-0eb48a570300@huawei.com
Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://lore.kernel.org/r/20231212044614.42733-2-liangchen.linux@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/gtp.h')
0 files changed, 0 insertions, 0 deletions