Subject: Re: [PATCH net-next V3 1/3] page_pool: Add API to update numa node

From: Jesper Dangaard Brouer <[email-masked]>
Date: Wed, 20 Nov 2019 13:15:37 +0100

On Wed, 20 Nov 2019 00:15:17 +0000
Saeed Mahameed <[email-masked]> wrote:

> Add page_pool_update_nid() to be called by page pool consumers when they
> detect numa node changes.
> 
> It will update the page pool nid value to start allocating from the new
> effective numa node.
> 
> This is to mitigate page pool allocating pages from a wrong numa node,
> where the pool was originally allocated, and holding on to pages that
> belong to a different numa node, which causes performance degradation.
> 
> For pages that are already being consumed and could be returned to the
> pool by the consumer, in next patch we will add a check per page to avoid
> recycling them back to the pool and return them to the page allocator.
> 
> Signed-off-by: Saeed Mahameed <[email-masked]>
> Acked-by: Jonathan Lemon <[email-masked]>
> Reviewed-by: Ilias Apalodimas <[email-masked]>

Acked-by: Jesper Dangaard Brouer <[email-masked]>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer