summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2025-03-26 00:25:27 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:14 -0700
commitd4f8000bd6b0cc33c9dddd369e72a13c4c080cb1 (patch)
tree48710ba89a80feb47edd63809593a21161fe01a8 /rust/helpers/helpers.c
parent4d71d9062dd7b2ace56f2351b9f3f06e6c0acf81 (diff)
mm: swap: factor out helper to drop cache of entries within a single cluster
Factor out helper swap_entries_put_cache() from put_swap_folio() to serve as a general-purpose routine for dropping cache flag of entries within a single cluster. Link: https://lkml.kernel.org/r/20250325162528.68385-8-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com> Reviewed-by: Baoquan He <bhe@redhat.com> Cc: Kairui Song <kasong@tencent.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions