diff options
author | Baoquan He <bhe@redhat.com> | 2025-02-05 17:27:21 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-16 22:06:07 -0700 |
commit | 1d212293ffd145eebd795d5969a81a3b59f71bcb (patch) | |
tree | 41a808dd2c817800758275f29093f581bb6286bf /mm/numa_emulation.c | |
parent | 4ccd4154fafff5516103051bc9162c33d832b880 (diff) | |
download | linux-1d212293ffd145eebd795d5969a81a3b59f71bcb.tar.gz linux-1d212293ffd145eebd795d5969a81a3b59f71bcb.tar.bz2 linux-1d212293ffd145eebd795d5969a81a3b59f71bcb.zip |
mm/swapfile.c: open code cluster_alloc_swap()
It's only called in scan_swap_map_slots().
And also remove the stale code comment in scan_swap_map_slots() because
it's not fit for the current cluster allocation mechanism.
Link: https://lkml.kernel.org/r/20250205092721.9395-13-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/numa_emulation.c')
0 files changed, 0 insertions, 0 deletions