aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alloc_tag.c
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2025-06-02 17:49:26 +0000
committerAndrew Morton <[email protected]>2025-06-06 05:02:23 +0000
commit9c49e5d09f076001e05537734d7df002162eb2b5 (patch)
tree478c8dba33d26d72613f0bf4af6fcafcf51abd99 /lib/alloc_tag.c
parentmm: fix vmstat after removing NR_BOUNCE (diff)
downloadkernel-9c49e5d09f076001e05537734d7df002162eb2b5.tar.gz
kernel-9c49e5d09f076001e05537734d7df002162eb2b5.zip
mm/madvise: handle madvise_lock() failure during race unwinding
When unwinding race on -ERESTARTNOINTR handling of process_madvise(), madvise_lock() failure is ignored. Check the failure and abort remaining works in the case. Link: https://lkml.kernel.org/r/[email protected] Fixes: 4000e3d0a367 ("mm/madvise: remove redundant mmap_lock operations from process_madvise()") Signed-off-by: SeongJae Park <[email protected]> Reported-by: Barry Song <[email protected]> Closes: https://lore.kernel.org/CAGsJ_4xJXXO0G+4BizhohSZ4yDteziPw43_uF8nPXPWxUVChzw@mail.gmail.com Reviewed-by: Jann Horn <[email protected]> Reviewed-by: Lorenzo Stoakes <[email protected]> Acked-by: David Hildenbrand <[email protected]> Reviewed-by: Shakeel Butt <[email protected]> Reviewed-by: Barry Song <[email protected]> Cc: Liam Howlett <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions