]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm, swap: split locked entry duplicating into a standalone helper
authorKairui Song <kasong@tencent.com>
Fri, 19 Dec 2025 19:43:40 +0000 (03:43 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 31 Jan 2026 22:22:55 +0000 (14:22 -0800)
commit78d6a12dd91a84b0d7e31110b1ea7f4b6a0f8d65
tree0bbd0a970e2583c7820ef271c441b6f96e1fe62d
parentcda2504c51eba2364472de2d6fff4a7fb797d018
mm, swap: split locked entry duplicating into a standalone helper

No feature change, split the common logic into a stand alone helper to be
reused later.

Link: https://lkml.kernel.org/r/20251220-swap-table-p2-v5-11-8862a265a033@tencent.com
Signed-off-by: Kairui Song <kasong@tencent.com>
Reviewed-by: Baoquan He <bhe@redhat.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Chris Li <chrisl@kernel.org>
Cc: Nhat Pham <nphamcs@gmail.com>
Cc: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Cc: Yosry Ahmed <yosry.ahmed@linux.dev>
Cc: Deepanshu Kartikey <kartikey406@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c