Re: [net-next v4 PATCH] page_pool: handle page recycle for NUMA_NO_NODE condition

From: Michal Hocko
Date: Thu Dec 19 2019 - 07:09:30 EST


On Wed 18-12-19 09:01:35, Jesper Dangaard Brouer wrote:
[...]
> For the NUMA_NO_NODE case, when a NIC IRQ is moved to another NUMA
> node, then ptr_ring will be emptied in 65 (PP_ALLOC_CACHE_REFILL+1)
> chunks per allocation and allocation fall-through to the real
> page-allocator with the new nid derived from numa_mem_id(). We accept
> that transitioning the alloc cache doesn't happen immediately.

Could you explain what is the expected semantic of NUMA_NO_NODE in this
case? Does it imply always the preferred locality? See my other email[1] to
this matter.

[1] http://lkml.kernel.org/r/20191219115338.GC26945@xxxxxxxxxxxxxx
--
Michal Hocko
SUSE Labs