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 PageReadahead

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

Link: https://lkml.kernel.org/r/20240821193445.2294269-4-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
6f394ee9 0b758280

+2 -2
+2 -2
include/linux/page-flags.h
··· 553 553 /* PG_readahead is only used for reads; PG_reclaim is only for writes */ 554 554 PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL) 555 555 TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL) 556 - PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND) 557 - TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND) 556 + FOLIO_FLAG(readahead, FOLIO_HEAD_PAGE) 557 + FOLIO_TEST_CLEAR_FLAG(readahead, FOLIO_HEAD_PAGE) 558 558 559 559 #ifdef CONFIG_HIGHMEM 560 560 /*