Skip to content

gve: Fix GFP flags when allocing pages

Izabela Bakollari requested to merge ibakolla/centos-stream-9:bz2140229 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2140229

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: 9b8dd5e5 ("gve: DQO: Add RX path")

Signed-off-by: Izabela Bakollari ibakolla@redhat.com

Merge request reports