]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/rds: suppress page allocation failure error in recv buffer refill
authorManjunath Patil <manjunath.b.patil@oracle.com>
Tue, 6 Oct 2020 21:31:37 +0000 (14:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Oct 2020 19:32:03 +0000 (12:32 -0700)
commit9f0bb95eeeb4677fec92a17133d350430b33f027
tree7ccfdc64fd151d5c09f786f6105d6a2daaae24c5
parent91bca7f7104c3e98b9d47c2b5e3622bf7a6a89e1
net/rds: suppress page allocation failure error in recv buffer refill

RDS/IB tries to refill the recv buffer in softirq context using
GFP_NOWAIT flag. However alloc failure is handled by queueing a work to
refill the recv buffer with GFP_KERNEL flag. This means failure to
allocate with GFP_NOWAIT isn't fatal. Do not print the PAF warnings if
softirq context fails to refill the recv buffer. We will see the PAF
warnings when worker also fails to allocate.

Signed-off-by: Manjunath Patil <manjunath.b.patil@oracle.com>
Reviewed-by: Aruna Ramakrishna <aruna.ramakrishna@oracle.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rds/ib_recv.c