This series includes several random fixes and cleanups to the mm/swapfile.c code. The issues were discovered during code review and can only manifest under extremely rare and race-condition scenarios. Further details about each fix can be found in the respective patches. Thanks for your attention! Kemeng Shi (6): mm: swap: avoid losting cluster in swap_reclaim_full_clusters() mm: swap: use correct step in loop to wait all clusters in wait_for_allocation() mm, swap: avoid BUG_ON in relocate_cluster() mm, swap: remove setting SWAP_MAP_BAD for discard cluster mm, swap: correct comment in swap_usage_sub() mm: swap: remove stale comment of swap_reclaim_full_clusters() mm/swapfile.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) -- 2.30.0