Message ID | 20230417205048.15870-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 090A6C7EE31 for <linux-mm@archiver.kernel.org>; Mon, 17 Apr 2023 20:53:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D4EBF280008; Mon, 17 Apr 2023 16:53:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CD81F280005; Mon, 17 Apr 2023 16:53:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B053E280008; Mon, 17 Apr 2023 16:53:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 94756280005 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 16:53:24 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 69063C05DD for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:24 +0000 (UTC) X-FDA: 80692083528.10.04FF1D6 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf05.hostedemail.com (Postfix) with ESMTP id A608E100014 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:22 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="p/jfRaNP"; spf=pass (imf05.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.174 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=1681764802; 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=tniPUuVL526Jec1TVIaHRLAUx7OruO8jRIKlA5wqt8Q=; b=O7M3WaT6osmudBGnUw/sX/LnS/EUSq1qAkRfdpzjpOhKEpaZIe8WoWa5qZQ2ZIY9oJO9Ud J0E0Trc9fFB4+rhHUg5HvGrc7JDoQduAjIKnhd1jSu3J0RnmsS0uZ9EfAipdA96R30hxvN QGvjqgLu1Pl14V6W9Rnfag7D/7krTbE= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="p/jfRaNP"; spf=pass (imf05.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.174 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=1681764802; a=rsa-sha256; cv=none; b=X/JkiJwCwJyaX5943G5KFUOLwO3VNpXwCAv+sG9vHB3BtM4eAO8vjR29djEQ2Gtl0e/kC0 NxzamRgcnAut0i+o+qzmfatI8zBemZ8J5uuIrq8KQ9rhiw6i+kQtMrzfRSW5p5JQY2vULv hKfRAAM4gDpuZ5gQ8eqK1meXpzHNeHw= Received: by mail-pl1-f174.google.com with SMTP id kh6so25754434plb.0 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 13:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681764801; x=1684356801; 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=tniPUuVL526Jec1TVIaHRLAUx7OruO8jRIKlA5wqt8Q=; b=p/jfRaNPQGaoJd3ujqaeLDuUP7t0WkHa2oZwiGdpehhESyVFAOdOmg0fusWkZ2XuJJ Yw6K8nYA6/5N6tLufuYh20gi7M7wxwYV1IodMymMAu3e2vjlzp/s4l9Vf7kZibjxovMR cghNEQkYGyGSVWGuIAzI28gyVhrT8GgnWs6YLc4dnuPB71AZU/a5qfpWgaMEJ0Qfl1S+ OG2NEJp7fE32TkPWsKahDfFv2MiE7qQWnDtWKvNsVMNbEDAHg0y2Zsbd1R1MkIpv2dly 3HDaLyPuLXfOS4PxJXenmM3XNPnXJ5LYctnHIHC9Ub4peO/zkx0GIKpeh+s1nuyRNP2C xoAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681764801; x=1684356801; 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=tniPUuVL526Jec1TVIaHRLAUx7OruO8jRIKlA5wqt8Q=; b=ioZXAOlQSyx4qqtsS/6AaTj8KJ0ok69qTixYrvQ40yaAi09/1IyZVbQ9YQuEBKwH9+ ewFA3wyg1fGssmp22TqiuEt4wtd3/5vc4JPjEDsS3O6nKifcnGFIuWTG6EztriNUeK1N oatC+OlgbCuon8/DB6sCYCjdnrSDoBZLQmgZlJC4WbqqoHj0Ud0C0JpZCLu8CYusymty I7SpN7bA9dRnRqgrcV96VwtYBl/wso2YFq4O4AA+RJmh/oO5y+MQY7Wif/j7sp1HH0RY +q7Jt4+6U7QnY5mTgrUJVhJJn35v8bMxxe5TpuxYZ3CZJwIR8HR28ujzD3zvoZA873cA aCAQ== X-Gm-Message-State: AAQBX9fN3wpoM8Tp8qEXAF+t6tPwTKJiYP/A6ySfHzn6PqUxb17XIaI0 DsA4GKPIGIuU2tUp+/OSq8s= X-Google-Smtp-Source: AKy350YG/84D/pba4O2jep64IWrC+mjA+ueyHqImP8NgwjI0qVBUMRNq8Z2uYJzIP+ywt0PW/sWA2w== X-Received: by 2002:a17:90a:8048:b0:247:78c0:125e with SMTP id e8-20020a17090a804800b0024778c0125emr8083390pjw.15.1681764801496; Mon, 17 Apr 2023 13:53:21 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 13:53:21 -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 26/33] nios2: Convert __pte_free_tlb() to use ptdescs Date: Mon, 17 Apr 2023 13:50:41 -0700 Message-Id: <20230417205048.15870-27-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-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: A608E100014 X-Rspam-User: X-Stat-Signature: w9x9bmbumghdu567xkxk8qqs5kbo1smx X-HE-Tag: 1681764802-984961 X-HE-Meta: U2FsdGVkX19BB/MAEfjxj+okGK9BikighHZ/Uybf0oeejYykYgZeBpgEwWpFHJOJ5q0kPk/15Ytcjbu1/PoKS7+0XHl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c8tRGHQ80c79LbRTGFhdVUoVMrmByc9Eif/3N1HZWwGhm3dstPvWe2Va8SFsbJ7md89boSb1YC15X3g21kFT6Isp9g7zcLHWOuKQbpvw0qCASDxqwcB/Cgi6v02ozDkYeAYR7eY7MCghlTcnGwSiAOD1/Q+eRpLB6oVSBRZzYam/0+Qhmc1HTH+PGiBQzzbnxX8bdvurtzeGtXozhiBynhrcsQc7AYjF8oigJmGAOBzCiPh7IkTBDWUwtS6Aw/aVf+DrUwMCn8ko5ZR0O9iXihpDxZHINllNOAMss/jkZeL96DHVsN1342inOrZOls/ZdeRiDOFiM+RClUFg4McBj1gYgOCXRZnUiwybDN/QY6KEbx02VfTRL9e5rpFx5Z3M5HAST/HfftUSHWAaJukZn88Q== 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..ed868f4c0ca9 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 { \ + ptdesc_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ } while (0) #endif /* _ASM_NIOS2_PGALLOC_H */
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> --- arch/nios2/include/asm/pgalloc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)