]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Update svcxdr_init_decode() to call xdr_set_scratch_folio()
authorAnna Schumaker <anna.schumaker@oracle.com>
Mon, 30 Jun 2025 18:53:09 +0000 (14:53 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 23 Sep 2025 17:29:50 +0000 (13:29 -0400)
commitd57e43b72bf2071caac90da323849c3983a695f0
treeaa869d7eed13d444d3cec335951a4de3ca0ba381
parent4b7c3b4c673d40e4b98cdaf642495929f43787e6
SUNRPC: Update svcxdr_init_decode() to call xdr_set_scratch_folio()

The only snag here is that __folio_alloc_node() doesn't handle
NUMA_NO_NODE, so I also need to update svc_pool_map_get_node() to return
numa_mem_id() instead. I arrived at this approach by  looking at what
other users of __folio_alloc_node() do for this case.

Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc.c