Re: [PATCH] SUNRPC: Restore NUMA_NO_NODE for svc thread allocations in global mode
From: Chuck Lever
Date: Wed Jul 22 2026 - 17:32:16 EST
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