diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2021-08-06 05:46:19 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-10 01:49:00 +0300 |
| commit | 57f05bc2ab2443b89c2e2562c05053bcc7d30e8b (patch) | |
| tree | caed6888bdd92daed5f868c8c01be6281be067e0 /include/linux/errqueue.h | |
| parent | 2a2b6e3640c43a808dcb5226963e2cc0669294b1 (diff) | |
| download | linux-57f05bc2ab2443b89c2e2562c05053bcc7d30e8b.tar.xz | |
page_pool: keep pp info as long as page pool owns the page
Currently, page->pp is cleared and set everytime the page
is recycled, which is unnecessary.
So only set the page->pp when the page is added to the page
pool and only clear it when the page is released from the
page pool.
This is also a preparation to support allocating frag page
in page pool.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
