aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2025-02-23 00:08:48 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:40 -0700
commit43e9bbc3bb19893377364379e224c35db0256b88 (patch)
tree420bd557f7c06e3c1fdb609cb976f38eee7f5b4e /mm/vmscan.c
parentselftests/mm/mlock: print error on failure (diff)
downloadwireguard-linux-43e9bbc3bb19893377364379e224c35db0256b88.tar.xz
wireguard-linux-43e9bbc3bb19893377364379e224c35db0256b88.zip
mm, swap: remove setting SWAP_MAP_BAD for discard cluster
Before alloc from a cluster, we will aqcuire cluster's lock and make sure it is usable by cluster_is_usable(), so there is no need to set SWAP_MAP_BAD for cluster to be discarded. Link: https://lkml.kernel.org/r/20250222160850.505274-5-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Kairui Song <kasong@tencent.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions