Message ID | 20230417205048.15870-22-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 91878C77B72 for <linux-mm@archiver.kernel.org>; Mon, 17 Apr 2023 20:53:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D27E36B007B; Mon, 17 Apr 2023 16:53:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CDA91280005; Mon, 17 Apr 2023 16:53:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 958FD280004; Mon, 17 Apr 2023 16:53:17 -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 732E86B007B for <linux-mm@kvack.org>; Mon, 17 Apr 2023 16:53:17 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 48D10AC273 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:17 +0000 (UTC) X-FDA: 80692083234.11.C5DBFAF Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by imf16.hostedemail.com (Postfix) with ESMTP id 5CA3D180013 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:15 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Xg6P0Upa; spf=pass (imf16.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.216.53 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=1681764795; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=QZsCOA55cyzavdUtEc6NmxuNkgRYNXDbvJNrrooH6yyiyiWBPcya1ZRcBTjUs0d4TccsdV uYeAsGJdJ4oBqQaZY//0bTnz7CZ3F3uoYktlgA4RZWhrjkCJOZyq6KulwSJHY6Q7Nx5ml+ bAR0cS5ksryhfKMpL8TIwzEFFjTjj3M= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Xg6P0Upa; spf=pass (imf16.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.216.53 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1681764795; a=rsa-sha256; cv=none; b=QDwzYyPLW6nK5jlxFocXZ8Aiqv8daruNu2EKATiP4ZCP1wpFGQKjkKKWGe5YHzBPqjLKwj Iy+RVdGiEpGfDg4+mIt2Dzgh3QdQz7fdgQ2g2ccK66xig9KCczgdQyT5tfqWnFPeY1+UBu r+YV+GmdRyyTItyFUAeUfDBeCji/eh0= Received: by mail-pj1-f53.google.com with SMTP id hg12so12714009pjb.2 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 13:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681764794; x=1684356794; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=Xg6P0UpaqLjmTr9GC8q8FEqPaWuvWAOVoK//8dKOM2wu82xE/PCXSYeAATRXUJ/HKh 6EEKIr46u43LbmKVnfil2W4E6LUnTir89HhCdDllvASzF+yevHo7MjwPE9+XRv+3hhES OUUsnstcNrA0rLCFMYj7vWl5ZczSf3KPYpA7wTt20fxP/HKu0nYQRIzVhW6nrnGOA5jn ZX8zcSMK8Y+FlG/fX2gye51alnw5R0vQJIqmi3wnRTlMtqWonWHxJepWd7O0uYkErLAf nElaONPL6snfMupRjx7SgoPL0fo06TUuoxc3sYPVOppMWFUfAwgvDIOHO8Ugh+LFqXUj IYjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681764794; x=1684356794; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=jKufrdlcmwmjc5FIUBChsd884m831wZ1MMq9Bcx3CWIM5huz4T7KsWsMZ4k+7kzPMB 6r+XonuNcru0kc5mBiKXl++XjtFOvksPr7j0LGHdNn3WdW6SgoohFHBqSQgtWoD749/T i0mAwxvyjRFVi5NveWBPEpJh1uX79asguJJJdPgPRxipXslrT/i3Pp+emhZ9IcwcXBAa r9cWBF4jqq7nTQorlK1KR3AnnuvHmKMJfdBAwHo7fRXHjroh6CzP+tkI2wGZw0h0B6r0 R3OjivylRIF/NK0MyDzVl3ImhtMlbTpiJdDFpjSy2TjDqH1DKDc+2C4QOTMpPFVS+Wq9 mHDQ== X-Gm-Message-State: AAQBX9fqrd9Gj0HT5YHKSQN/PhC9FXiN8yJtrKaETMf3YHihxDVleKA6 9/5dHRpcmX7x0lO4GSa2+8U= X-Google-Smtp-Source: AKy350Ym3GSROxWd30N3vnOcQ+scJJk4j2bn57g6f2y/wdjBz5ko3J6EyTomKSlBO1Xk2XiBoSAe7w== X-Received: by 2002:a17:90a:5315:b0:23f:81c0:eadd with SMTP id x21-20020a17090a531500b0023f81c0eaddmr15717621pjh.47.1681764794292; Mon, 17 Apr 2023 13:53:14 -0700 (PDT) Received: from fedora.hsd1.ca.comcast.net ([2601:644:937f:7f20::c139]) by smtp.googlemail.com with ESMTPSA id h7-20020a17090ac38700b0022335f1dae2sm7609707pjt.22.2023.04.17.13.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 13:53:14 -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, "Vishal Moola (Oracle)" <vishal.moola@gmail.com> Subject: [PATCH 21/33] csky: Convert __pte_free_tlb() to use ptdescs Date: Mon, 17 Apr 2023 13:50:36 -0700 Message-Id: <20230417205048.15870-22-vishal.moola@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417205048.15870-1-vishal.moola@gmail.com> References: <20230417205048.15870-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: uk33tco4rn4b34wiscgeyxjsh48npnpf X-Rspamd-Queue-Id: 5CA3D180013 X-HE-Tag: 1681764795-453075 X-HE-Meta: U2FsdGVkX19bA0DegoXL8p4sbzphH8oIE9+WJNMA5TIiDk+OA/lU33dN1UcdEagVlwNV4vntuGwWxyX+GDH5gVZUSuYRpAYaFJ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/5MYQE+naPU4ujmip+yfBANKEu/lK7upSnYu3EIDafiC5Gx/j8cKYmhzoorTMfONSokWt7yRe8UxHU6vBTpaPw27zEPd8bKD/0YFFzB24NuycfLysbdyruz7AKX58Uz4koG6hc7Zb/piOr4hxq0d1/oOaqDT66/kR/XqXFHRiAglipje/8PCNY3MuXCdHqC0GwVfbibwjioVf4xqlW4/knoaBhj8QWyasV4nmPB8n2tRl7OEsXXzjooTIkrU1NBVk44Zjub5gQPfReqSgC6S4zQiUklv1K5n4UGqhVXLkSJCjaeIx9+lwVWF9q3xXlP+bjlgjMpKG4UGhKzJ191Lnb42VCS5nINYrZs4cxvR0+ZSCwZVyGANR1YywpqeqNMt8/E9W+H2oE5orKderkFjFRHJsadlOJVfXX/QybA== 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..af26f1191b43 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); \ + ptdesc_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc(tlb, page_ptdesc(pte)); \ } while (0) extern void pagetable_init(void);
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> --- arch/csky/include/asm/pgalloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)