diff options
author | Liang Chen <liangchen.linux@gmail.com> | 2023-12-12 05:46:11 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-14 03:35:16 +0100 |
commit | 0a149ab78ee220c75eef797abea7a29f4490e226 (patch) | |
tree | 5d9dc405446c68232bd0e066e35daa1bd141df40 /drivers/net/ethernet/broadcom | |
parent | cxgb3: Avoid potential string truncation in desc (diff) | |
download | linux-0a149ab78ee220c75eef797abea7a29f4490e226.tar.xz linux-0a149ab78ee220c75eef797abea7a29f4490e226.zip |
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 'drivers/net/ethernet/broadcom')
0 files changed, 0 insertions, 0 deletions