Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm: remove PageSwapBacked

This flag is now only used on folios, so we can remove all the page
accessors.

Link: https://lkml.kernel.org/r/20240821193445.2294269-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
0b758280 bf03c806

+3 -3
+3 -3
include/linux/page-flags.h
··· 528 528 PAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) 529 529 __CLEARPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) 530 530 __SETPAGEFLAG(Reserved, reserved, PF_NO_COMPOUND) 531 - PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) 532 - __CLEARPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) 533 - __SETPAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) 531 + FOLIO_FLAG(swapbacked, FOLIO_HEAD_PAGE) 532 + __FOLIO_CLEAR_FLAG(swapbacked, FOLIO_HEAD_PAGE) 533 + __FOLIO_SET_FLAG(swapbacked, FOLIO_HEAD_PAGE) 534 534 535 535 /* 536 536 * Private page markings that may be used by the filesystem that owns the page