diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-08-29 15:09:01 -0400 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-06 17:39:03 -0700 |
| commit | 50a8b41589fb21613ed51587eb92149da199beeb (patch) | |
| tree | 3bb3a3919579bfcf02fc06f118a048e7516ad2d4 /include/linux | |
| parent | 0361b8f820c135639b9213ff18492e7d00045613 (diff) | |
| download | linux-50a8b41589fb21613ed51587eb92149da199beeb.tar.gz linux-50a8b41589fb21613ed51587eb92149da199beeb.zip | |
mm: remove PageReclaim
This flag is now only used on folios, so we can remove all the page
accessors. folio_test_clear_reclaim() is not used, so don't add
FOLIO_TEST_CLEAR_FLAG() for it.
Link: https://lore.kernel.org/20260829-b4-page_io-folios-v2-2-649728091117@columbia.edu
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/page-flags.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 7a863572adce..ae2ebaed6d4d 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -593,8 +593,7 @@ TESTPAGEFLAG(Writeback, writeback, PF_NO_TAIL) FOLIO_FLAG(mappedtodisk, FOLIO_HEAD_PAGE) /* 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) +FOLIO_FLAG(reclaim, FOLIO_HEAD_PAGE) FOLIO_FLAG(readahead, FOLIO_HEAD_PAGE) FOLIO_TEST_CLEAR_FLAG(readahead, FOLIO_HEAD_PAGE) |
