From patchwork Tue Nov 14 06:34:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 13454837 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 50ED6C4332F for ; Tue, 14 Nov 2023 06:35:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B4D836B015C; Tue, 14 Nov 2023 01:35:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AFD626B016D; Tue, 14 Nov 2023 01:35:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9C59E6B016F; Tue, 14 Nov 2023 01:35:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8856B6B015C for ; Tue, 14 Nov 2023 01:35:10 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 5D4E01CB4C0 for ; Tue, 14 Nov 2023 06:35:10 +0000 (UTC) X-FDA: 81455597580.03.2860785 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf21.hostedemail.com (Postfix) with ESMTP id 9FB0A1C000B for ; Tue, 14 Nov 2023 06:35:08 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf21.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699943708; 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:references; bh=04gGU8/OgxxLir2VRUy9CseV7pqFErXjWGorWNOOLxw=; b=HcdJaA17njKTh2EAu7y2tsK0ippYTpK+cd7TaaL97YxZ0+pkCCH9zZFUZqc5fKKUKP8B3b EAcdo+Tz7l356FbV/DQh0ejEv1+cXLJZ0AlOgonBySofRYBMB/DE+xU7wpTA7bMSWDMVBP fBWb88mpq/jbZlm/vah+UlzX6od5PM0= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf21.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699943708; a=rsa-sha256; cv=none; b=rl5yVKVNLzo3tGDwEnKDHHGuauQLYea/cyPr1C1dro0vnoTC6PBKyjQAGh6bPv+JI5EDt6 6MsyxdVsO6Xgb6Gy0IsYbZFXUCJNsi0pyJXi36YuhNFyhVcHsfx5mM+otSZ02Y52Vdwxa4 459zyHnoYvfQxJ7Srh0Ktev3i7dJH0M= Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C3D49DA7; Mon, 13 Nov 2023 22:35:52 -0800 (PST) Received: from a077893.blr.arm.com (a077893.blr.arm.com [10.162.41.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EDE773F7B4; Mon, 13 Nov 2023 22:35:04 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , Jonathan Corbet , Andrew Morton , Rick Edgecombe , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Documentation/mm: Drop pte_bad() descriptions from arch page table helpers Date: Tue, 14 Nov 2023 12:04:56 +0530 Message-Id: <20231114063456.339652-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 9FB0A1C000B X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: ingr7xuikan8q981jgqcp6g639gt3j6p X-HE-Tag: 1699943708-831863 X-HE-Meta: U2FsdGVkX185aY8LHelt3OXXBjQWHsu1kdpZ3C5AI65ZCHReRrIgqF3iUo8Z7haRdmhC3S+q1BwBgDhvfzi5+pVLUojL2ezwcN42stMfB1j7ymm9SXIZxBWKjfUT0OS6p7rObz3/vW+bz+fdI+4j1tVNjXreJimPNvsP/bAOpyIkK0ki8MxAbix5Kz9Rt/N4Ge+QfDfOfOIcnEdakQXJa9ztyHN/oo/FHHhi5PorDuUUrbEwOZTU2WiUoyZPk5sekBaECvDjRjB99/92hCVDfGw7ybxDb7VGHrQEP+Qntp2u8hIOz5bsvGlr+uyycncZOyUdtxvt0XFES4i9cHhVYFoHmQYI7cfGN5uvBeVGqOZp7TfSq6CcAT/UxI9+kWpeDRi6s9NhgaE4elvm3qZ0p7TAxIZ7tCSidhN6aaBGpNYu29RkbY94EXc5t8nYlwtELmcZAvE46cXrRyF/lrM1FWDq7sHxIh1uFBNhUrZ9lpkUix3BlIo7gRtlNkBE2LGpYA7k2P2kaLXmDgJ9h04jc5b6s0VPqmfRZZ6k0aiTOJK2Rhs+BCEfq+qxVdsuhxJ2YIP0WiEMIOTuwhmymjTbt1gUwGLRZtPDHxVCuVrv0Q7sq5BRTEuhEHHh17J1Siw+QDb12YKOe4XxsIYLF4FmtjgxJFt6UU9SSrNgetQHn7JuJLTfhtovQk99znCHkyl/WVqZL6iqsYahTHhlDBr/7gckOta9ajJFrvtmZ2Q5crxAoMJkEtvZio0F/7QFju6R8Wlwl4zcYKRVg8yznLOrjmuy88Op7T1dLkB31Fj8218FdLJM67WuAa0IzhWoeMujg+cLlAy070MsoGfI4AbkNXbk0vUZeWlv0QarYAx03v0Qd2iFvSYy+cxp5/r6WdtHtgVWoElqn9OkYt7wkkCNSGSlmvADdBT1UX8d8nrBRIa9wW81lh1ODlgLGi9JFHYPuvkS9xsJot2tjbRU8a7 HqdTHRWA hR+P086cdGy0Iu7moxuK9RN9/Y9GiIZvb1JULa2fcX7b5o9bQaQRFUNHH0nmv16OWKWzUmhkL3EKGdwQxK3k8681vZdpW1Dh1O4sEHIL4t7FLSSAgxDbYFXuh0bnwNnbvKGqjEA1i6HOvPzGkFViJ0+uJCUD5esPXBgUpQArFb8aKUFjV6pitKAlq5wZrYEmrxOJpiQlzXs0gn+sitTpU2CPSWWQdT7kZK6o2UXhBx7DfXDEd+tgJ+BTRxM8hbubyz7L5FddDKfD5n9oSMk6sjpkudwgcCg/mFqaVfjNuryojiKs2zjTyLIYyF+Muaq0F3C0vUixavIS4LcnIEzlgpQl0Ff0UQcxfDp2mqjiwGwv6KsfyrX5+uBZoWWPt4Q0hFbEf15C9EnqZi/0qF+pvR3NAHKeuSCkQ9F7PTH/TeX8qgGaaKHXPWl67DgtMkU8bAsGhYJPo31CUExUOiYlSqwoAkA== 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: pte_bad() never existed unlike similar helpers at PMU, PUD, and PGD level. This was added erroneously and hence should be dropped instead. Cc: Jonathan Corbet Cc: Andrew Morton Cc: Rick Edgecombe Cc: linux-doc@vger.kernel.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual Reviewed-by: Rick Edgecombe --- Documentation/mm/arch_pgtable_helpers.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/mm/arch_pgtable_helpers.rst b/Documentation/mm/arch_pgtable_helpers.rst index c82e3ee20e51..2466d3363af7 100644 --- a/Documentation/mm/arch_pgtable_helpers.rst +++ b/Documentation/mm/arch_pgtable_helpers.rst @@ -18,8 +18,6 @@ PTE Page Table Helpers +---------------------------+--------------------------------------------------+ | pte_same | Tests whether both PTE entries are the same | +---------------------------+--------------------------------------------------+ -| pte_bad | Tests a non-table mapped PTE | -+---------------------------+--------------------------------------------------+ | pte_present | Tests a valid mapped PTE | +---------------------------+--------------------------------------------------+ | pte_young | Tests a young PTE |