[PATCH net-next 3/3] net: page_pool: simplify page recycling condition tests

2021-01-26 Thread Alexander Lobakin
pool_page_reusable() is a leftover from pre-NUMA-aware times. For now, this function is just a redundant wrapper over page_is_pfmemalloc(), so Inline it into its sole call site. Signed-off-by: Alexander Lobakin --- net/core/page_pool.c | 14 -- 1 file changed, 4 insertions(+), 10

Re: [PATCH net-next 3/3] net: page_pool: simplify page recycling condition tests

2021-01-26 Thread Ilias Apalodimas
On Mon, Jan 25, 2021 at 04:47:20PM +, Alexander Lobakin wrote: > pool_page_reusable() is a leftover from pre-NUMA-aware times. For now, > this function is just a redundant wrapper over page_is_pfmemalloc(), > so Inline it into its sole call site. > > Signed-off-by: Alexander Lobakin > --- >

Re: [PATCH net-next 3/3] net: page_pool: simplify page recycling condition tests

2021-01-25 Thread Jesper Dangaard Brouer
On Mon, 25 Jan 2021 16:47:20 + Alexander Lobakin wrote: > pool_page_reusable() is a leftover from pre-NUMA-aware times. For now, > this function is just a redundant wrapper over page_is_pfmemalloc(), > so Inline it into its sole call site. > > Signed-off-by: Alexander Lobakin > --- >