diff options
| author | Yunsheng Lin <[email protected]> | 2021-08-06 02:46:19 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-08-09 22:49:00 +0000 |
| commit | 57f05bc2ab2443b89c2e2562c05053bcc7d30e8b (patch) | |
| tree | caed6888bdd92daed5f868c8c01be6281be067e0 /drivers/fpga | |
| parent | devlink: Fix port_type_set function pointer check (diff) | |
| download | kernel-57f05bc2ab2443b89c2e2562c05053bcc7d30e8b.tar.gz kernel-57f05bc2ab2443b89c2e2562c05053bcc7d30e8b.zip | |
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 <[email protected]>
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions
