Re: [PATCH 04/10 net-next] page_pool: Add API to update numa node and flush page caches

2019-10-18 Thread Jonathan Lemon
On 18 Oct 2019, at 14:07, Saeed Mahameed wrote: > On Thu, 2019-10-17 at 15:06 +0300, Ilias Apalodimas wrote: >> Hi Saeed, >> >> On Wed, Oct 16, 2019 at 03:50:22PM -0700, Jonathan Lemon wrote: >>> From: Saeed Mahameed >>> >>> Add page_pool_update_nid() to be called from drivers when they >>> de

Re: [PATCH 04/10 net-next] page_pool: Add API to update numa node and flush page caches

2019-10-18 Thread Saeed Mahameed
On Thu, 2019-10-17 at 15:06 +0300, Ilias Apalodimas wrote: > Hi Saeed, > > On Wed, Oct 16, 2019 at 03:50:22PM -0700, Jonathan Lemon wrote: > > From: Saeed Mahameed > > > > Add page_pool_update_nid() to be called from drivers when they > > detect > > numa node changes. > > > > It will do: > > 1)

Re: [PATCH 04/10 net-next] page_pool: Add API to update numa node and flush page caches

2019-10-17 Thread Ilias Apalodimas
Hi Saeed, On Wed, Oct 16, 2019 at 03:50:22PM -0700, Jonathan Lemon wrote: > From: Saeed Mahameed > > Add page_pool_update_nid() to be called from drivers when they detect > numa node changes. > > It will do: > 1) Flush the pool's page cache and ptr_ring. > 2) Update page pool nid value to start

[PATCH 04/10 net-next] page_pool: Add API to update numa node and flush page caches

2019-10-16 Thread Jonathan Lemon
From: Saeed Mahameed Add page_pool_update_nid() to be called from drivers when they detect numa node changes. It will do: 1) Flush the pool's page cache and ptr_ring. 2) Update page pool nid value to start allocating from the new numa node. Signed-off-by: Saeed Mahameed Signed-off-by: Jonathan