From: Matthew Wilcox (Oracle) Date: Wed, 21 Aug 2024 19:34:40 +0000 (+0100) Subject: mm: remove PageOwnerPriv1 X-Git-Tag: v6.12-rc1~115^2~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3026bc1e82b695d69cde21712512922abe74aab9;p=thirdparty%2Fkernel%2Flinux.git mm: remove PageOwnerPriv1 While there are many aliases for this flag, nobody actually uses the *PageOwnerPriv1() nor folio_*_owner_priv_1() accessors. Remove them. Link: https://lkml.kernel.org/r/20240821193445.2294269-8-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) Signed-off-by: Andrew Morton --- diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 08cce16c82aaf..458d2dc5124db 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -539,8 +539,6 @@ FOLIO_FLAG(swapbacked, FOLIO_HEAD_PAGE) */ PAGEFLAG(Private, private, PF_ANY) PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY) -PAGEFLAG(OwnerPriv1, owner_priv_1, PF_ANY) - TESTCLEARFLAG(OwnerPriv1, owner_priv_1, PF_ANY) /* * Only test-and-set exist for PG_writeback. The unconditional operators are