aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_platform.rs
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2025-03-10 12:40:17 +0000
committerAlexei Starovoitov <[email protected]>2025-03-15 18:18:19 +0000
commitf90b474a35744b5d43009e4fab232e74a3024cae (patch)
treed7af19439740b2364da965cfebe52fc9b6ff114f /samples/rust/rust_driver_platform.rs
parentMerge branch 'bpf-mm-introduce-try_alloc_pages' (diff)
downloadkernel-f90b474a35744b5d43009e4fab232e74a3024cae.tar.gz
kernel-f90b474a35744b5d43009e4fab232e74a3024cae.zip
mm: Fix the flipped condition in gfpflags_allow_spinning()
The function gfpflags_allow_spinning() has a bug that makes it return the opposite result than intended. This could contribute to deadlocks as usage profilerates, for now it was noticed as a performance regression due to try_charge_memcg() not refilling memcg stock when it could. Fix the flipped condition. Fixes: 97769a53f117 ("mm, bpf: Introduce try_alloc_pages() for opportunistic page allocation") Reported-by: kernel test robot <[email protected]> Acked-by: Shakeel Butt <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Closes: https://lore.kernel.org/oe-lkp/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions