From patchwork Wed Aug 21 19:34:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 13772019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 894F3C52D6F for ; Wed, 21 Aug 2024 19:35:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D539394000E; Wed, 21 Aug 2024 15:34:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D019F94000B; Wed, 21 Aug 2024 15:34:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B54FC6B0196; Wed, 21 Aug 2024 15:34:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 8E2216B0194 for ; Wed, 21 Aug 2024 15:34:53 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 433E9140827 for ; Wed, 21 Aug 2024 19:34:53 +0000 (UTC) X-FDA: 82477255266.27.6DDCB13 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf22.hostedemail.com (Postfix) with ESMTP id A07A9C001B for ; Wed, 21 Aug 2024 19:34:51 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=ac7hRec5; spf=none (imf22.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724268785; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=53G7OQRwRv/Iqta75K6HOo9hAeq2ZQbXgYcT30n+x1I=; b=OlIpGHnYgI+IW+LiD47Al0XT/+KJIv2eSJmv6h9ajbZoH/rgWcFJgmjgLoVigg5VbtRRm7 yKpHrBDFYTExslaplV94U8NdErt4CDcoMJnRJJ2ONP+1Gay5NwCyhM4bhOaF/2ThVSNfgW ZZjvWGSp3Yie8cZ59kenkJUfp2IjE6g= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=ac7hRec5; spf=none (imf22.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724268785; a=rsa-sha256; cv=none; b=q8ClJpCj+mjhibJDF3kNBGNq2V1BxaLod55ry7gkI74HtHcQkD2aU7Ei8rm2oPaU9AOD0E 2hxtJumN/pxmSK94ZyNhtnL0qTnEm59UT+kp2yPxm1xzO6siDuy4Ye632uYBQoyel875gw 7Q7TCuLvGA+UOuxyfCGfcV8pRZBSWOQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=53G7OQRwRv/Iqta75K6HOo9hAeq2ZQbXgYcT30n+x1I=; b=ac7hRec5l1qkplqKAShlhlL3eQ Cjdh/PvoshoWa7liYUNyRh3yG2ZO/0zkkQuCF44wBDMsc7ywxUQvm3oefETB0EkATv0KOj+vwpA2F 2FsO6Ll3fAy6V2wZCSgWKggEUtd96EkKur+9ISSFgjlzifLniEIyjx7mAxvKGsStQzW5vXQdUCkoF xAF5xG0Hyn4jjU4B+HWx9MKPuGiKV8JDGPMqtRUz/CgvZMHikKm/q3S2a/o+29xRSpflvKZxWvAtM vf6GccwSogOh3RtqSKEjuWOkkIM4Oe51iRNcLpd49Z/Fv/u5hUdwRvLJR8dVr/VWpALKz07rV6NtQ X2q7K+/A==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgr6V-00000009cqn-1Y31; Wed, 21 Aug 2024 19:34:47 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, x86@kernel.org Subject: [PATCH 07/10] mm: Remove PageOwnerPriv1 Date: Wed, 21 Aug 2024 20:34:40 +0100 Message-ID: <20240821193445.2294269-8-willy@infradead.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240821193445.2294269-1-willy@infradead.org> References: <20240821193445.2294269-1-willy@infradead.org> MIME-Version: 1.0 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: A07A9C001B X-Stat-Signature: d1uhxy6o4oourcmad3ncr9wr7ehhu45k X-Rspam-User: X-HE-Tag: 1724268891-935304 X-HE-Meta: U2FsdGVkX18qtfSoMRa5RBWMLxoT2uwEDK5sDiDH0XsEDSZboAVnIy1hTwT9go3FMagWJNHszbh6peUf84dvcxfDVpWSghSsYaUnRRnHW4r5B0bFfPLHU9BZ4/QBtxEejHZ+faO3ei6g7RFsaSxT1SI6/U2C1gqkXMzzRz5uyNq3fnA9mQbhLlz1DtsG9QUrjAaE3GbBN4FYSl0IZ92K70ZJ6FE5jGYIsmfQlVilusK2bJtn5/6WUeDmpdUcN+UfWkcgfjVt5ylivVvGrDkppGPl4HSsjxZPKZ3/twrTS73a6O0Lwg6PWmESNyS0TLzNTkNjQbH5klCQn30FxLCZiBtWbJcLSO1UMeDJ6RsT3xovVKeALlnok+9+eG+FI/Hhu5NB+xeXYwrYYG9znZBKaDwqIScrlcL/XwXywXtiZgqcW6svLrDV0p4MFALCCMSIdx0c8NABe0L+W7chD/icEU2r6xf8sqsMOc30GztZw1g992eWNl8H1VnQ9X0xP5LEEbnFPuVu3JdSUcrKvs+qqC294mtRE8EDwLqUWTgIFyxrM1MdeX7yc3nDU5ypVa1gKFUqRS34qut7ip/r9UnVfU9RFiL9Hv60pp/Ty/ncySbTk3rPeh20PduD5n3V+g4yL434L/crtMjof7Guye0g9rxZ6ZCVhA6ow1R+qBPJxDX7oCVnKd7d+kHOVSCfLzJvCAMN42i1PYMg8ThZ+18e3F+k9QnXCoD1d815TaqhzMZSWTE+icj/LhkqePIIASgxmvMfbINco/2rWfx4S1tMmbHEFnp4JeXuLztqLjN3iDa/6Eu/ubV5dUllguPfNSGxOiHlo7SC3MUg+U9qb73NOhq16mHopF4vTI0VAx6qT2V2oMAlQjajCo0a3h/QBRPRSkka2BBrJCZq1ZSnUQyUdChxABZZEeWYrld1l1BOSEdTY9g40wn+KadP/xN+0lZBQ2fwmT82vaf9+xRW2CO mFx9+V5f wYQhHb2XEDEvxcR/eMAjJz4szjOFvT+F8/1axwS9ggmR14jyzRwPFHAw7Uv1Qk5ObU6GA7/ehxS+Y+BFBtQLlTtI3DhHzFkaHfIppNEtymgxkHN4kPwBjm81FjBVSh0ep74d5nDG+Z6KBrF4x3IWVmryiJr/T37xuwmERw662wCDm0Zm6dRqCg3xW0D8q71Jor1LKOYQIhG5edZ2ee81p69HmOw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: While there are many aliases for this flag, nobody actually uses the *PageOwnerPriv1() nor folio_*_owner_priv_1() accessors. Remove them. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/page-flags.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index f1358f86a673..5112049cc102 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