diff options
author | Catherine Sullivan <[email protected]> | 2022-01-25 16:38:43 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-01-26 18:45:01 -0800 |
commit | a92f7a6feeb3884c69c1c7c1f13bccecb2228ad0 (patch) | |
tree | e4a4d0446b0e81dd2892478b99326e64db6f9872 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2f6513284347432d137ce54e30baae2aa5d5f55c (diff) |
gve: Fix GFP flags when allocing pages
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 <[email protected]>
Signed-off-by: David Awogbemila <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions