aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorKairui Song <kasong@tencent.com>2025-08-26 00:37:21 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-09-13 16:55:17 -0700
commit46afff459925297d9d47c043eb8541fabac9bb0a (patch)
tree4d6bd2e7e67e4c5dd3b3667d27f4cf891884ddb1 /mm/page_alloc.c
parentselftests/mm: use calloc instead of malloc in pagemap_ioctl.c (diff)
downloadlinux-46afff459925297d9d47c043eb8541fabac9bb0a.tar.gz
linux-46afff459925297d9d47c043eb8541fabac9bb0a.zip
mm/page-writeback: drop usage of folio_index
folio_index is only needed for mixed usage of page cache and swap cache. The remaining three caller in page-writeback are for page cache tag marking. Swap cache space doesn't use tag (explicitly sets mapping_set_no_writeback_tags), so use folio->index here directly. Link: https://lkml.kernel.org/r/20250825163721.17734-1-ryncsn@gmail.com Signed-off-by: Kairui Song <kasong@tencent.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions