summaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2025-03-10 13:40:17 +0100
committerAlexei Starovoitov <ast@kernel.org>2025-03-15 11:18:19 -0700
commitf90b474a35744b5d43009e4fab232e74a3024cae (patch)
treed7af19439740b2364da965cfebe52fc9b6ff114f /lib/xarray.c
parent93ed6fc268c4cc3f1c2b3718d2beb0aa6d04ddc4 (diff)
downloadlinux-f90b474a35744b5d43009e4fab232e74a3024cae.tar.gz
linux-f90b474a35744b5d43009e4fab232e74a3024cae.tar.bz2
linux-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 <oliver.sang@intel.com> Acked-by: Shakeel Butt <shakeel.butt@linux.dev> Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250310124017.187-1-alexei.starovoitov@gmail.com Closes: https://lore.kernel.org/oe-lkp/202503101254.cfd454df-lkp@intel.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions