Message ID | 20230627031431.29653-23-vishal.moola@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 5FE2CC25B5C for <linux-mm@archiver.kernel.org>; Tue, 27 Jun 2023 03:16:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C7F918D000A; Mon, 26 Jun 2023 23:15:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C05B98D0006; Mon, 26 Jun 2023 23:15:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A80B28D000A; Mon, 26 Jun 2023 23:15:57 -0400 (EDT) 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 8CF718D0006 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 23:15:57 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 3419BC08B5 for <linux-mm@kvack.org>; Tue, 27 Jun 2023 03:15:57 +0000 (UTC) X-FDA: 80947063554.12.202ED2D Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) by imf18.hostedemail.com (Postfix) with ESMTP id 65ACD1C0018 for <linux-mm@kvack.org>; Tue, 27 Jun 2023 03:15:55 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=m20u0ufi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf18.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.128.173 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687835755; a=rsa-sha256; cv=none; b=1P4zK9KIrTeTOhRTSNjxpDqzATYiENREroUKwQIA40LMu7EbXjqBOxralBSU3IbJSe34qs O9fHYXbqJKmt4DCrj5HlKT2QJIyGIWXJDhYcppBG2Ey8WDVI1Pu1ptxCheoZX5lbempqoB 49ZPoL8vtJ95yMLmDiutgz1YrqgaEsE= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=m20u0ufi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf18.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.128.173 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1687835755; 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=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=Uo9xqT0hxr+ivkjcZ6xOcYd2tj7q5dmqOlgAJCArxTHrkEaWyEj1yhZOV+nHj1ouA7a1gJ QawrBpjstoV4oMXOzlaN1hcrndRi1c8/h2mI8xo1Ih3zDzUoa3g0/DehOPOyt5g1iEMJyb DYfjtMGPPGbyy0g670E4CFJc83rk8rY= Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-5702116762fso43161867b3.3 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 20:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687835754; x=1690427754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=m20u0ufiAKGaCJ1eF+oXsWKBIRL5JTjyvtae8lqFZvtXfIrM7cJtjjAu/m4Uz73Z8l 2OzyWyLCkpN3ueHXh3OYTXgBp8fMDOqyT852NuEeBcWkgEMJmVKnx3KmXsByRx3AKFHF Vg5wuji9LMQRgJRH1HqmX3jxPY497r0xZlE76FEouiAeDZpP9QjhFrAgiTXpIz8r0/Pn raAur9OcS2AWjvRxW5kW7BBQEK8M8XOe3JN2fYON+zb1b/iUEGPKmhswAXipr/RMjiJ1 5Ou/YPdkNRNCdvvgrCiDyHNc6JnGXPl8TTudPcGz7r3XrC0of8M4idYi+6qLUVc137gj TxEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687835754; x=1690427754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=LabJV5jsNUOGrr9uCqLyQvTWfk3/gVq0fdAXJVrjZyzvpWWod2IK8isQdeW3zwezW/ VhfBfHcnSTxzVLVf2mB67jSML0V254Ukd8fOyWCvdgeh+zu7qm0fGbl4wuYUYK9AbaTp qm6VDuF6sb+ln5n8UcPO9+sp0QgGWObGACOqDzS6s9PUuuIyKBbsYOHqetQzhZinTVgu OQ7DsICcx+JxDfWKV6K1Zah4tlpulrHq8IrvNrqr0YDAsaIleQ2dFaXdLXCAQGs2IBiL BaJk9GulgDKukFGa0A9aBeJM7F3Wcmjp4cO/EwbF5uOtAQDBVzuNiMKxDp5+UAwXcmqN nexA== X-Gm-Message-State: AC+VfDxIZEFU5oThEPyBoJf+Z753vQ1wM8MgpNffLOaQ+DAQtqGC30Tc BG46H+J50B1SCmRVfzxLmHw= X-Google-Smtp-Source: ACHHUZ5MOzNqvj1LDJTcnkC+L2S0i67qvPaFwWjlYeZ+6A+ljBIE978bk3O2AZxZRJ0D8kmPxN2z/Q== X-Received: by 2002:a81:7189:0:b0:56f:ecdd:ded7 with SMTP id m131-20020a817189000000b0056fecddded7mr30983642ywc.10.1687835754377; Mon, 26 Jun 2023 20:15:54 -0700 (PDT) Received: from unknowna0e70b2ca394.attlocal.net ([2600:1700:2f7d:1800::16]) by smtp.googlemail.com with ESMTPSA id s4-20020a0dd004000000b0057399b3bd26sm1614798ywd.33.2023.06.26.20.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 20:15:54 -0700 (PDT) From: "Vishal Moola (Oracle)" <vishal.moola@gmail.com> To: Andrew Morton <akpm@linux-foundation.org>, Matthew Wilcox <willy@infradead.org> Cc: linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, Hugh Dickins <hughd@google.com>, "Vishal Moola (Oracle)" <vishal.moola@gmail.com>, Mike Rapoport <rppt@kernel.org> Subject: [PATCH v6 22/33] hexagon: Convert __pte_free_tlb() to use ptdescs Date: Mon, 26 Jun 2023 20:14:20 -0700 Message-Id: <20230627031431.29653-23-vishal.moola@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230627031431.29653-1-vishal.moola@gmail.com> References: <20230627031431.29653-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 65ACD1C0018 X-Stat-Signature: erbwkuofwmwaxe4eq7o33h7fjs1iimnj X-HE-Tag: 1687835755-170217 X-HE-Meta: U2FsdGVkX1+8ZCUsUuqULo0GnM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sj0+gU7y5FW653/INwOxzPpk5CghQ6DSyuWtawChmiKL4Q5uR47ZLAaoCADW8i9ekL1ALEFKKPjfzumgaFAZBDTmt7X7OVf2N05GKTGzYEC3xHT6joX6t0EioqLCluiyZiU092gH/viNQlGlSU8omdSCbaTir1NZSTXVq8Tr4WkzHFqZf3R1xv2P0g9fDeDVd2k2TO6U0nNNVIF4wQfXD+2XWN+/Kw5Dlzjk972Oc1lv958jVj10bytqFBndZT3XpILeOjTqEE9SOYUyCK0l584IdRHsi6vltXdo6j0v9gNMb1za8kpFug6oMrpVpSlD+dcIFH4cdJcMxJOIy00+tcFMSKEQz7dCp7xEQ5XMKpEbyOukTX8SU3tCxHjRXyNE3U/qxfxdnvqO5bJY6tDerA2vpTU1stWOrOUH+SDdUaVyKr9Vnq7Izeg9bS8Q+MMtJTz8zVONpHGUMtopTMa17egqGoTGskw5j3LoyL+e6Vysj95F7TdVi152x9trpuxFvE0Y0SYbqGcpyjVraWxdI0w1+S088= 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: <linux-mm.kvack.org> |
Series |
Split ptdesc from struct page
|
expand
|
diff --git a/arch/hexagon/include/asm/pgalloc.h b/arch/hexagon/include/asm/pgalloc.h index f0c47e6a7427..55988625e6fb 100644 --- a/arch/hexagon/include/asm/pgalloc.h +++ b/arch/hexagon/include/asm/pgalloc.h @@ -87,10 +87,10 @@ static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, max_kernel_seg = pmdindex; } -#define __pte_free_tlb(tlb, pte, addr) \ -do { \ - pgtable_pte_page_dtor((pte)); \ - tlb_remove_page((tlb), (pte)); \ +#define __pte_free_tlb(tlb, pte, addr) \ +do { \ + pagetable_pte_dtor((page_ptdesc(pte))); \ + tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ } while (0) #endif