aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorKairui Song <[email protected]>2025-01-30 11:51:31 +0000
committerAndrew Morton <[email protected]>2025-02-01 11:53:26 +0000
commit498c48c66eb600535f1221652509eefb2dce7770 (patch)
tree8b89b109d7c8be8e504c300e76e24e6b8450c59b /lib/test_xarray.c
parent.mailmap: update email address for Christopher Obbard (diff)
downloadkernel-498c48c66eb600535f1221652509eefb2dce7770.tar.gz
kernel-498c48c66eb600535f1221652509eefb2dce7770.zip
mm, swap: fix reclaim offset calculation error during allocation
There is a code error that will cause the swap entry allocator to reclaim and check the whole cluster with an unexpected tail offset instead of the part that needs to be reclaimed. This may cause corruption of the swap map, so fix it. Link: https://lkml.kernel.org/r/[email protected] Fixes: 3b644773eefd ("mm, swap: reduce contention on device lock") Signed-off-by: Kairui Song <[email protected]> Cc: Chris Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions