Message ID | 20230725042051.36691-20-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 9FEF9C04FE0 for <linux-mm@archiver.kernel.org>; Tue, 25 Jul 2023 04:21:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3E382900003; Tue, 25 Jul 2023 00:21:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 36B6F900002; Tue, 25 Jul 2023 00:21:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2330E900003; Tue, 25 Jul 2023 00:21:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 13BB4900002 for <linux-mm@kvack.org>; Tue, 25 Jul 2023 00:21:51 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id DE119B242D for <linux-mm@kvack.org>; Tue, 25 Jul 2023 04:21:50 +0000 (UTC) X-FDA: 81048835980.25.D9C739A Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by imf13.hostedemail.com (Postfix) with ESMTP id B142C2001B for <linux-mm@kvack.org>; Tue, 25 Jul 2023 04:21:48 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=isSLzJlV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.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=1690258908; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=ucnNARsq2KMfx8sEdIjfnO4MuJJbxJYmVuB8xHFU5d9ybLLvWaQjiEscVRiv7Ke44jdn+n r24Q/mKD6JtbOvCGYhv/f3UGn5AY7axAu9jY4w+YlLZ8r1EDwQK78BOSUxP1IJ3GdF0Xxu DBIHz3hyRPqcbLT/t2aWouwXAQKtoLk= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=isSLzJlV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.174 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690258908; a=rsa-sha256; cv=none; b=zKH20UFQMDVWo3bYQ/lXwpaKxRt/6dLgdpnHR1eJ+mZRxfLyDEzkqZv2GIUJ/djiEs1231 5kj5miChMU00vQW4epOnVcF3nEfIffUilV01W+QLK4TEdAFA24kN+NfkwxdzHZbdqvdSc+ MYlV6xiuvqL2aOogl/En7s8+TwFW1kw= Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-d129edb8261so1958253276.1 for <linux-mm@kvack.org>; Mon, 24 Jul 2023 21:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690258908; x=1690863708; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=isSLzJlVCcu3DqkromZhEI/qWyA5zzmxG1x9IbP6194I1DKOByM/hDEPdxe0FV3MLw d6Rw+lHZ9WlgptdvBWiFzGMaM6KUoRlGp3xu2jda8iMy45KiL59BtGKHYho8dHuVUxG+ hJLuMObqibUKBJwga6VwRPSAoh79vGoLNGxF2cxBKo1aHJdauK67/yOhDfLuLDKzblyJ F0wgtxLKGut1KlZ4xgsSxueuM+T0O4hKbp6cFWk4PiHYX5rGa1VxC3c5t+U93CbfreQA BhDLct+PPc5ibyvQ9RmPu/T+BvIQhbpSiLzGAmfokkxsUZTkKg3EAjaoANJECHoNxZLs xbZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690258908; x=1690863708; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=QlfNDnSnO0eShzb3Z8TJldC2Cod++ISjkc0IHvxfJ3rZdBhdv4ez+YkRL1eOswU37x O+WrLKKv41oo5lE0hhyMdeo0X5Zf3SQxknH3n6QWnBEadzFwSD1DOT7Kp4v8Et1dpJUZ xWtCN+/dOa+JaK9iAQBk8ifyisMX3JQIERSZPfvHhtDUtF3ejA75h86LdmfFA2c6PU6E x2V+QWh7s8Xc4k2bMyXh1OpfGVrQh+ut1wsD6UxDS95zsblmQbtGOQn1No7ea8GsmbWC vNwtl233zysVrrt2u+X5lTZXK+v/XsEyP3GCYBJqzUMPV0I0zXYziLgRXBtMLJOIslxT NXrQ== X-Gm-Message-State: ABy/qLaEAbza0pXs04ZCiPeKY2n27vbKlELD3f612FRnquULhu4icllv GHVJ1yohHq5k7d6eKZxOjP4= X-Google-Smtp-Source: APBJJlE3eJKl34GJI9esPlRffLNepF5AyEOkc7MEH4MKJMttiyYPB1pXgCmUyzmySa6Xjpm5Cuhodw== X-Received: by 2002:a25:b08a:0:b0:d07:1a89:2e73 with SMTP id f10-20020a25b08a000000b00d071a892e73mr1367996ybj.28.1690258907697; Mon, 24 Jul 2023 21:21:47 -0700 (PDT) Received: from unknowna0e70b2ca394.attlocal.net ([2600:1700:2f7d:1800::16]) by smtp.googlemail.com with ESMTPSA id h9-20020a25b189000000b00d0db687ef48sm1175540ybj.61.2023.07.24.21.21.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 21:21:47 -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>, Guo Ren <guoren@kernel.org>, Mike Rapoport <rppt@kernel.org> Subject: [PATCH mm-unstable v7 19/31] csky: Convert __pte_free_tlb() to use ptdescs Date: Mon, 24 Jul 2023 21:20:39 -0700 Message-Id: <20230725042051.36691-20-vishal.moola@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230725042051.36691-1-vishal.moola@gmail.com> References: <20230725042051.36691-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: B142C2001B X-Stat-Signature: 38x9ky6kuy579sp7t1s6i7rdf15jt6xa X-HE-Tag: 1690258908-8441 X-HE-Meta: U2FsdGVkX1/nlqgf9EPT60zPkelIf1nxqtg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pl+dWZddfZlt1BrS++vCzRvbACjiJqOUSFM00wu2Ecaot1LvfnsnnCPhfvyYqCUVGbUlXF49JmKS3pt5dutnKBoLoP4NBqJatY4Epr0FxHCuw1uOu16edQD2oTeYG0jHqI2q2D3J4zWkJVOvd5M8IZF9V2CFFHlYr18hdf2vnAEBLMKJ0eS9WBVPNoNzhj3EzTZx1m/uXlJO4meEtCQoMJCq2N0M2lnmBoNox7CUQSSH7kBAf7W2lA2nD5kzsuqrS7vjyThabpX9C3bs28WOwyX7vYRy3TOYaQJ7F++immNxX5uAeMC5mmULtQ2Ifk7eByoaDQNOagSQoG09YhXtCjMNioAKACKejNrO4olgQX4WzWouA59mbWek226HuRHkdJWzrc8vwgofVx+ON62Yqh2jKT6DRg++sPzackxZmUEgJI4WwbChrPMcZ2SIQEspSs5LO7EeJf/q1tnAnrByXMgGNP/MfHPRbGjSpXp38VVQS+xNDeYTKFzmNaVqjnwX+BKaEGTrgIk1rOwjyDDe1QBI= 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/csky/include/asm/pgalloc.h b/arch/csky/include/asm/pgalloc.h index 7d57e5da0914..9c84c9012e53 100644 --- a/arch/csky/include/asm/pgalloc.h +++ b/arch/csky/include/asm/pgalloc.h @@ -63,8 +63,8 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm) #define __pte_free_tlb(tlb, pte, address) \ do { \ - pgtable_pte_page_dtor(pte); \ - tlb_remove_page(tlb, pte); \ + pagetable_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc(tlb, page_ptdesc(pte)); \ } while (0) extern void pagetable_init(void);