Message ID | 20230731170332.69404-26-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 4BAF5C04A94 for <linux-mm@archiver.kernel.org>; Mon, 31 Jul 2023 17:04:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 593EB280077; Mon, 31 Jul 2023 13:04:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4F4B96B0187; Mon, 31 Jul 2023 13:04:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 39505280077; Mon, 31 Jul 2023 13:04:32 -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 28EAA6B0186 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 13:04:32 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id EDCFA120291 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:31 +0000 (UTC) X-FDA: 81072530742.11.9D86CA0 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by imf24.hostedemail.com (Postfix) with ESMTP id 796A1180016 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:29 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NCurFfzE; spf=pass (imf24.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690823069; 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=0AnRv7d38hHUVaoAGins0CaWMMRgzo0GwUb20Y9YoSw=; b=qfLRpeZv4S4EvpdTizLualbyMlsP7SGmS+p0D/HMHXqoLgetITu0hZhk9DtFLqfjwxilNX XYk5xcuEKGHrlGrpi25RanXxxBDdowMIxBvI8OUAX91M35Z3+0DZQFat30WSGu6Ud5qQk8 ecxElZQiHoCc9xHHuqjjoAR3EfKuLAw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690823069; a=rsa-sha256; cv=none; b=QofWMrBVjdoqxozJrxlWu8YD3CGP/Hd1yAkyufGYbtn3Da4zj1T45v0VD4/K78gpRtVR2h e4crL8upjTZcZ7K4HFo4aWRTOUobkX8B6lrFKqhVasizNmE4OfDpPuSU7ANYT8ONhyLcWR fzwPuZ3mVW8CvPxFvDwhFxuT9tDswak= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=NCurFfzE; spf=pass (imf24.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-bcb6dbc477eso3787472276.1 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 10:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690823068; x=1691427868; 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=0AnRv7d38hHUVaoAGins0CaWMMRgzo0GwUb20Y9YoSw=; b=NCurFfzESiDx9LJv2ZuGZQRVSVONypfRSwp3UCPEimaJ0icLYx3MO5YhqaCkZBIR4Z l/oM16YnfTb6kc+h35gY+zFIGDLtxKkoqGrDMVFkoTTTXsh+xxxFI4aLUNlB4KO70CwF WRXyA1UJf7HH1gQrjYriX6iIExSZBg+JSpTH9iwwtWaRApzq4XeZb8/+i18fB7X+SbC5 QNboB3mts09Ey/BGMzFFSqcMjH751GJumhdsMsGsSdMw+HfAwMqxwq/99BYNjLDy4Uwv T3I5GqlbCblT84V09f9Mmwx3a1PPDI4Kl+kA59SDykK80t9C+rJKaVJTL/sIPY4ok+Qa Stkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690823068; x=1691427868; 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=0AnRv7d38hHUVaoAGins0CaWMMRgzo0GwUb20Y9YoSw=; b=aj3AoxvPsl95Udy2uz6EUFYGG2l66iXYBIwd+Q/hKMJ8u1B3nWC20typg/4dEy1A8q VQ/Lt28crzPbs1wUHXGE8QRC2LPtUjbI3i0+osEvEAR7bddPHrN27xunEYD0kJLufU+N yPySla6jC1E5Fq5z5Fdc8u3b1dlI+zPn8F4hDjbT3jgGSnx01LRcs/lyh5MY552BKr2z jUY0CmpOJ5IQ3EOu8UlK/TxJ4oVtB/xdhgsVwS9QRHfFkPIqPIno4f56y4nFiznP3nih 0pR+dS0MbXVnHweieohxse7O1Nmhn2Z25aN93PenuAidFc+2CwT5I3tBoqiizQOFp2vp myew== X-Gm-Message-State: ABy/qLZVQt6JsK7dhzAg2+UuQcb0QJZABaKN7JK/wcBDJS2Bzg9AMYoP HGiK+EuOgXXEO4nqZNwO7ZA= X-Google-Smtp-Source: APBJJlH2OMZz7Ho/ZKKTbee+QNJ7Mj2bTW6BCb3XUatLH/MvStrEwd2dCkY4APrPVNcSGvWAfXuhUw== X-Received: by 2002:a25:acd2:0:b0:c6d:f875:520e with SMTP id x18-20020a25acd2000000b00c6df875520emr7715849ybd.49.1690823068568; Mon, 31 Jul 2023 10:04:28 -0700 (PDT) Received: from unknowna0e70b2ca394.attlocal.net ([2600:1700:2f7d:1800::16]) by smtp.googlemail.com with ESMTPSA id x31-20020a25ac9f000000b00c832ad2e2eesm2511833ybi.60.2023.07.31.10.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 10:04:28 -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>, Jonas Bonn <jonas@southpole.se>, Mike Rapoport <rppt@kernel.org> Subject: [PATCH mm-unstable v8 25/31] openrisc: Convert __pte_free_tlb() to use ptdescs Date: Mon, 31 Jul 2023 10:03:26 -0700 Message-Id: <20230731170332.69404-26-vishal.moola@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230731170332.69404-1-vishal.moola@gmail.com> References: <20230731170332.69404-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 796A1180016 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 8b7qyd6sswduxdxwod9y6a86fqsxfjy3 X-HE-Tag: 1690823069-87739 X-HE-Meta: U2FsdGVkX18uzfddO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9ZK/izwYTK1vTn6dIdWZj2t2o6IuvsMkZRKDO9edZfxhB0FrcSKiWlO10C4G0Z9xDlxUZl6pRCu/PIYj6rToaRWLVJZwnx2FrWxVjrFIAaP9ZnA2n83C0UGTr0pC5F0/1MUEq4LEvTwhcenZiB4Y1cAhG9vI0iuWWVMI6MjtT5ci8NfXNZPEufPuM4sbB1xX/XSyqI08K9RHqnwKSThj4o9Ps00g6/AYoKZp/ua5f69Lc9NDRyUtYhAgYH8syRJShQP2O6SSd5usRM7eHWbdav8HMtiXKMUkuXNfIdG9I8oLJgmuD06WEKEXURAUBMFK9ZaJRszCeAZWC8UQCIEKYzVFmuj49WM5DcjYEab/vJr/nW9Vg4dv5p9fRY/nVS4AAfL5P4wp0D+59yyswZ5G0MQwubVIXTLzw3ogzfkTjqZxyZgZOlNmISd0a3J4EkmX6/Y37XcO4zKcrpfUqMACPhMjzxM9jEQQIjY0TVi70mvo72yUJYU2YVNOI3xl9ale4DawFxtljulZys6Aqqgo= 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/openrisc/include/asm/pgalloc.h b/arch/openrisc/include/asm/pgalloc.h index b7b2b8d16fad..c6a73772a546 100644 --- a/arch/openrisc/include/asm/pgalloc.h +++ b/arch/openrisc/include/asm/pgalloc.h @@ -66,10 +66,10 @@ extern inline pgd_t *pgd_alloc(struct mm_struct *mm) extern pte_t *pte_alloc_one_kernel(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