Message ID | 20230627031431.29653-27-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 C2053EB64DC for <linux-mm@archiver.kernel.org>; Tue, 27 Jun 2023 03:16:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E05328E0011; Mon, 26 Jun 2023 23:16:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D65168E0002; Mon, 26 Jun 2023 23:16:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BB83E8E0011; Mon, 26 Jun 2023 23:16:05 -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 A2CD08E0002 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 23:16:05 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 824751C82C2 for <linux-mm@kvack.org>; Tue, 27 Jun 2023 03:16:05 +0000 (UTC) X-FDA: 80947063890.24.AA61FC4 Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) by imf05.hostedemail.com (Postfix) with ESMTP id AFB17100006 for <linux-mm@kvack.org>; Tue, 27 Jun 2023 03:16:03 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="pYu/np5E"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf05.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.128.174 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=1687835763; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=VQZCobvstYY2l0sGqZYvI1P1W5V7maVDrdTOsTRxfUfdwmxKL9ubeQaVyILbrdm6b15ODn FWJWUvnGCUbVOxc+uAqcg360YEHcptCClGKv0CJNqDGpY5lfY7RdAvsHhjyla8evCjqQQW KdU5WCF03xYq+vFIbg6zrf3rrmKCvqU= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="pYu/np5E"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf05.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.128.174 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687835763; a=rsa-sha256; cv=none; b=cdDgqAdiaYIyomIsq5tqHXQz9/mIuFxz4Esm4olBb6Rl8DMxX699IGjMADR5LEa66BSAss aOo4++sOJrCGgGZ9e+Y4+tdeMPGK/RbG45u4C57CF/IB/CmyJitJYwGIYESBtaGBX42w8e ormAWWwg2Ai/CngKC2Nkllc2KnkCX5w= Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-56ffd7d7fedso42553137b3.2 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 20:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687835763; x=1690427763; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=pYu/np5E02v9D4l9kp2NKvJbLly/W4E/pytzpciEjQbyT6+cb3MtewkIWSZ/wCYqXd G1Xr/QkETq+9GbOV2yhW+2wZnwokC/KdlaanhyggpRl1yOJr09K81oiMFpOqkCSKUN1U FaF0VsjnMFKldVgjw5dM4Iy6YMJ/sIWl4pMPKU4lAMjDSOWrwT/y3HEK7DZHkwf96llK iirmdX85Js3ztXjDiHDLqtShs9EXg3guUWkHRosbVKtQGujpNsiEApphQ37yRcHluKce hLpePft/RQblwSLVA6U8/x8zaLVFAB0Ea9ymuNJLOKqGjd9fA49LoIOpslhGIKWxr+Yx skeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687835763; x=1690427763; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=Uywusguq4rfPk5iuTo+1iyU2B1YjL783YWA7Kve51M9JipJEfNksXlj7k1uTwf6xGW Q++czOKDtlc00LI95pjNVgpNlZnf7vMi9JPWoNSb6YYJAonhIBBd7Iy1XDSC5OQpzTvt nZjVBFow75eRipaOghJXV9gCfswPAptzyM0cxNKurk4zTBbTO+i50z8Y53N8HNvoucJv DaUJe/3lWoiWZ+4iKDr6sk5we5vrySJk8t0eqK4umNJjBTjfiEEMs1YfYL/pDUmLyutG 7srZMIzz1TdKXorhLvYS3bDzW/G+2jkclOIBeUUEYCJm/jObEInLYuNEwCumP0V+5OWy ddZw== X-Gm-Message-State: AC+VfDwE19mpa3X6hRAYn5l1Z20LSOfMTz0IMLCgEL6cxXFptFh7UgQp 17A4KndqoZ/rPL8KHNk+qx8= X-Google-Smtp-Source: ACHHUZ4sbsRgQIL7xgoFeCT8hAtH3rltXvvkgvi4T0uDEBiqb265+aHLns97dzgLS2JgA0bF/wvN3w== X-Received: by 2002:a0d:ddc5:0:b0:576:8a5a:87e5 with SMTP id g188-20020a0dddc5000000b005768a5a87e5mr10382513ywe.26.1687835762791; Mon, 26 Jun 2023 20:16:02 -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.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 20:16:02 -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>, Dinh Nguyen <dinguyen@kernel.org> Subject: [PATCH v6 26/33] nios2: Convert __pte_free_tlb() to use ptdescs Date: Mon, 26 Jun 2023 20:14:24 -0700 Message-Id: <20230627031431.29653-27-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: rspam12 X-Rspamd-Queue-Id: AFB17100006 X-Stat-Signature: 91s88re6z61h3jdahkafhk8cwy6odyac X-HE-Tag: 1687835763-120393 X-HE-Meta: U2FsdGVkX1+JcCi6jcbmFpwlNQVCTr5+uhmY06JJNk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jT9BHCiEuJyiBG83CAqXMrHTw4dftteoiac0TuW8dFBmfSfIstmEIcClS3CRfk6pSPPs7LExF6cNl2iYes2F1ggBrjAT+ZcGLlWCYh0hwVr/1eNs54FaZ7PRaX49jZF8PPd2NApXXIty9nzLWGfRD1poh6MhK93x2ntGwdlXYeSlLi0GWMIneQoEcYJElghsc/7GczmL/Lm5qT7tU8jYSXobrEaGx6xoZhFyNBw7hHIGEWpqxOXimTFoqPA2mcu9nDet1Q/TBg4giCK8Toy2af0EWN+ydpnPpXm9e8qQQ8r6ZlcO45bMP71eQwLKIMIVPnpnabeBYujh7scSlsKHnFovDhT4NQpu91QxqnLiHYTbzGLWCOMC+pXENbljQYdCGZJrRHUGTEmVTxgAcrMun0MNkuV3cm4Avjii0mUckIW1nxu6JwcNYvVTlibXux2WTj4U50qHsx0QNGmKwPHB2RDagFH3ZDrlDOIUZUpmv0UE98i7gwIX8hW/jp8PTIFrwDTld1QxsqgfcCBv4= 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/nios2/include/asm/pgalloc.h b/arch/nios2/include/asm/pgalloc.h index ecd1657bb2ce..ce6bb8e74271 100644 --- a/arch/nios2/include/asm/pgalloc.h +++ b/arch/nios2/include/asm/pgalloc.h @@ -28,10 +28,10 @@ static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, extern pgd_t *pgd_alloc(struct mm_struct *mm); -#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 /* _ASM_NIOS2_PGALLOC_H */