Re: [PATCH] SUNRPC: Restore NUMA_NO_NODE for svc thread allocations in global mode

Chuck Lever <[email protected]> Wed, 22 Jul 2026 17:32:05 -0400
Newsgroups gmane.linux.nfs,gmane.linux.kernel
Message-ID <178475581093.3096927.18170922544327617159.b4-ty@b4>
On Wed, 22 Jul 2026 23:20:11 +0500, Ameer Hamza wrote:
> Commit d57e43b72bf2 ("SUNRPC: Update svcxdr_init_decode() to call
> xdr_set_scratch_folio()") changed svc_pool_map_get_node() to return
> numa_mem_id() instead of NUMA_NO_NODE, because __folio_alloc_node()
> cannot accept NUMA_NO_NODE. That return value is not equivalent: it
> is evaluated in the context of the task creating the nfsd threads,
> once per thread created, and it is passed to kthread_create_on_node()
> and to the per-thread allocations in svc_prepare_thread().
> 
> [...]

Applied to nfsd-testing, thanks!

nfsd-testing has been re-ordered so this patch is positioned before
Jeff's restructuring of svc pools.

[1/1] SUNRPC: Restore NUMA_NO_NODE for svc thread allocations in global mode
      commit: ea94cbfb34c7151d79da28a8c7e4bec0290b3e27

--
Chuck Lever