]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix memory allocation in rpc_alloc_task()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Mar 2022 21:37:01 +0000 (17:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 Mar 2022 19:52:55 +0000 (15:52 -0400)
commit5543d8f2d30fa57e2b0316db2eeff85104114bee
treefad41d0c6a0b9c3d12a9a9aac28d8afddaa27287
parente8a48fe2bf8ade177d687a2993ef84b8c23d2c38
NFS: Fix memory allocation in rpc_alloc_task()

As for rpc_malloc(), we first try allocating from the slab, then fall
back to a non-waiting allocation from the mempool.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/sched.c