[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191120131537.5481402e@carbon>
Date: Wed, 20 Nov 2019 13:15:37 +0100
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Saeed Mahameed <saeedm@...lanox.com>
Cc: "David S. Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jonathan Lemon <jonathan.lemon@...il.com>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
brouer@...hat.com
Subject: Re: [PATCH net-next V3 1/3] page_pool: Add API to update numa node
On Wed, 20 Nov 2019 00:15:17 +0000
Saeed Mahameed <saeedm@...lanox.com> 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 <saeedm@...lanox.com>
> Acked-by: Jonathan Lemon <jonathan.lemon@...il.com>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@...aro.org>
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists