]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Prevent memory allocations from driving a reclaim
authorChuck Lever <chuck.lever@oracle.com>
Fri, 23 Sep 2022 13:06:37 +0000 (09:06 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 5 Oct 2022 19:47:17 +0000 (15:47 -0400)
commit31df19ea389fdb8326c237c01b5128224e20dd15
tree3d9b8aa2ec35f8f645e5acc1bf6011807c6d56c0
parentd2b9bc706f682e5d99c1390403b9d64ab5cf3a48
xprtrdma: Prevent memory allocations from driving a reclaim

Many memory allocations that xprtrdma does can fail safely. Let's
use this fact to avoid some potential deadlocks: Replace GFP_KERNEL
with GFP flags that do not try hard to acquire memory.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c