summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorCatherine Sullivan <csully@google.com>2022-01-26 03:38:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-01 19:27:14 +0300
commit1ac025f24b89cfcb31184f8da8186c815c5f977c (patch)
treedc2d804528ff3c577b2581e537dc8caae847cdea /net/ipv6
parent35b092d3b57f47af50b6e5da77bb73fc4e66c704 (diff)
downloadlinux-1ac025f24b89cfcb31184f8da8186c815c5f977c.tar.xz
gve: Fix GFP flags when allocing pages
[ Upstream commit a92f7a6feeb3884c69c1c7c1f13bccecb2228ad0 ] Use GFP_ATOMIC when allocating pages out of the hotpath, continue to use GFP_KERNEL when allocating pages during setup. GFP_KERNEL will allow blocking which allows it to succeed more often in a low memory enviornment but in the hotpath we do not want to allow the allocation to block. Fixes: f5cedc84a30d2 ("gve: Add transmit and receive support") Signed-off-by: Catherine Sullivan <csully@google.com> Signed-off-by: David Awogbemila <awogbemila@google.com> Link: https://lore.kernel.org/r/20220126003843.3584521-1-awogbemila@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions