diff options
| author | Kemeng Shi <shikemeng@huaweicloud.com> | 2025-02-22 19:08:48 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-17 08:06:40 +0300 |
| commit | 43e9bbc3bb19893377364379e224c35db0256b88 (patch) | |
| tree | 420bd557f7c06e3c1fdb609cb976f38eee7f5b4e /include | |
| parent | 1ddae9d67ee11886f9a35b78ad837eb26559e9ab (diff) | |
| download | linux-43e9bbc3bb19893377364379e224c35db0256b88.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
