Trond Myklebust 33e5c765bc NFS: Fix memory allocation in rpc_malloc()
When in a low memory situation, we do want rpciod to kick off direct
reclaim in the case where that helps, however we don't want it looping
forever in mempool_alloc().
So first try allocating from the slab using GFP_KERNEL | __GFP_NORETRY,
and then fall back to a GFP_NOWAIT allocation from the mempool.

Ditto for rpc_alloc_task()

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2022-03-22 15:52:55 -04:00
..
2022-01-22 08:33:37 +02:00
2021-09-04 10:25:26 -07:00
2020-03-16 12:04:33 -04:00
2022-01-22 08:33:37 +02:00
2021-07-08 14:03:23 -04:00
2022-01-16 07:42:58 +02:00
2021-08-10 14:18:35 -04:00