mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
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>
This commit is contained in:
parent
0b75828036
commit
6f394ee9dd
@ -553,8 +553,8 @@ PAGEFLAG(MappedToDisk, mappedtodisk, PF_NO_TAIL)
|
||||
/* PG_readahead is only used for reads; PG_reclaim is only for writes */
|
||||
PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL)
|
||||
TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL)
|
||||
PAGEFLAG(Readahead, readahead, PF_NO_COMPOUND)
|
||||
TESTCLEARFLAG(Readahead, readahead, PF_NO_COMPOUND)
|
||||
FOLIO_FLAG(readahead, FOLIO_HEAD_PAGE)
|
||||
FOLIO_TEST_CLEAR_FLAG(readahead, FOLIO_HEAD_PAGE)
|
||||
|
||||
#ifdef CONFIG_HIGHMEM
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user