Message ID | 20230501192829.17086-24-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 7B57DC77B7C for <linux-mm@archiver.kernel.org>; Mon, 1 May 2023 19:29:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7DE9B280016; Mon, 1 May 2023 15:29:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7901D28000C; Mon, 1 May 2023 15:29:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5DEFA280016; Mon, 1 May 2023 15:29:10 -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 4A5BC28000C for <linux-mm@kvack.org>; Mon, 1 May 2023 15:29:10 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 1368EA07FB for <linux-mm@kvack.org>; Mon, 1 May 2023 19:29:10 +0000 (UTC) X-FDA: 80742674460.17.4C3BAA5 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by imf25.hostedemail.com (Postfix) with ESMTP id 4CE90A0013 for <linux-mm@kvack.org>; Mon, 1 May 2023 19:29:08 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=WbTJO1ay; spf=pass (imf25.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.171 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=1682969348; 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=apg836Gn0N7QExyyhUUGNgc2fd2r3iyoAghRwsUjc2o=; b=oVVEXwiBT001e18EQB9BYOuH2IYwjIvF6kFrvZqzuT4KRlb3/DhjBwpFOc6xB0xlw6VWQb bUwed+hqFvkcCKHGxc/hs50wHZhoTk1jwdGcHbX6bDbQviT+1R98fuuYU7MzsK/ZAh2mHq cYLBGpwjVhnndGdgE6+L9MxHFKmdb2o= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=WbTJO1ay; spf=pass (imf25.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.171 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=1682969348; a=rsa-sha256; cv=none; b=Cdb16yycqG7TwtGqVCKxNaD7WZ/jpxiROYdxRZETFWYJcBvjoyQxM+CaLQuvgD6SuvTyk9 wEJet8TLvvszrTH9jt6/jfCGmW/fF1o3oaEIZ4rV+2ymTBjKXkTR4wpjBYimWmxmPJwAbp 4GV47UMacR+gzCCqSIXeCJg/cp93Hvw= Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1aad55244b7so19089935ad.2 for <linux-mm@kvack.org>; Mon, 01 May 2023 12:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682969347; x=1685561347; 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=apg836Gn0N7QExyyhUUGNgc2fd2r3iyoAghRwsUjc2o=; b=WbTJO1ayjn3HXL/iQMZCmT2+RnFSF2O5WG+VKbNfOxDU8NvbfSgz+Wjs4UVgNNQcMr uLj57ayYRa/f+rOhAVP0jHM/2f33b+TbcsUuT8OausfFIQuWjGI50HrH5E0KiKkIgQwa 0uM85OALkALC3dGk5nJ/tYYANgKg4uu8cRvFIwQEiY4YzwHIJvVidPyhHtwxmNKQYA0W tAWz4vl42KgoRYKzs8w7tUocWedsU0Shw+kefBEmySvrYYB7bH8pThcvpYZ6Dpmw316z icjhKqrruYJxczjDCcNsGgrwDrViIcKW8h7/U3ESAg45ipYAB08luKD04Ylpo9b00Q6j cFOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682969347; x=1685561347; 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=apg836Gn0N7QExyyhUUGNgc2fd2r3iyoAghRwsUjc2o=; b=gEDHi1DHPDfXc0z2AzdIuvJAyu435iwrlw0nju4QdlY3YhU5Mh6LHYGnz8maIJeT4u W0wwS2YG9VE2hxxzt+73I5NHNyhc72Z2rIVV0tkaNZTv2mUblMR0WR3SswsSPuLFgkFk d89zT4tacwV3z8HZSJ9g6XNei+5jNDlGbnbeedUKNzJw1ws4xWqqzZgV+g9vjdVXNZ81 gjFR1cJDFow0ugORSaS9KcMEHP8A1V9jQ3XWeG4y22dxUzR+kKJyCI5Zxq6LjHfNJ2Yx f3Snz7sU5zVLYip+MoTgeLoDJqMoXxyBwkPJ2P35FjnQ/Gq1b8p0WD/Hrzo16d0C7RFF zM9Q== X-Gm-Message-State: AC+VfDz6U72Hn/wGSHCAFLO/Z5HlKG09RRUKaVkn2mRxCiClIBjd0Iku ScMgaNPz0qDDBTtmRkRpD08= X-Google-Smtp-Source: ACHHUZ6JhHSCQpD21/kJ78iavglhPlPTqvuf+3JEce/L0R67tH5klQ2MwjR0kPXU/JMC0Y1BeGjoZA== X-Received: by 2002:a17:902:c94b:b0:1a8:626:6d9d with SMTP id i11-20020a170902c94b00b001a806266d9dmr19271440pla.62.1682969347146; Mon, 01 May 2023 12:29:07 -0700 (PDT) Received: from fedora.hsd1.ca.comcast.net ([2601:644:937f:7f20::9a2c]) by smtp.googlemail.com with ESMTPSA id u8-20020a170902bf4800b0019c13d032d8sm18175622pls.253.2023.05.01.12.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 12:29:06 -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 v2 23/34] hexagon: Convert __pte_free_tlb() to use ptdescs Date: Mon, 1 May 2023 12:28:18 -0700 Message-Id: <20230501192829.17086-24-vishal.moola@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230501192829.17086-1-vishal.moola@gmail.com> References: <20230501192829.17086-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 4CE90A0013 X-Rspam-User: X-Stat-Signature: daojxjp9nmw9cr9ymq4ecsyiesb6osbh X-HE-Tag: 1682969348-867436 X-HE-Meta: U2FsdGVkX1/fWp6r3gXedL4Hevu8t5U9zCXq0tlbZsxzzF2lhKmHp5mZ7G4/mULwlATesYcP3UZEMfyK3nDyX54G8RQ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jfAJVdhpTn75qgP/ZZfjnxyf8pJyB+n9bgjPadFPcuWSu5s4hPboyhIXSNIIWvWnNhPR253q9VZgt7F7jD8sKkPWW7tRq6zIcL88yDdGTHgVeL5q1i7qOajaYYl3E7Rbt/D8jPtNJZs1Ujicg9f157RJ3iacnlZ0TKIsm0LVDxEGDhSHTvOYXjlHbqHL94BTo/Cy7QNgrop+iPpFPVHKccsUuvUkFiRFqJNFh9Vhtcn+BlHqVfpLA71nJWM+e/Jytbm2HGetHAU4FNAMVgptbnoioohvTR0Zngl/NRELuHf7q5MOeFSPe66jAL99+BN4FqcA5x8Vg932ChqjjqoQ33I+ilE6QabTb671RmgaOSR/k4r+nXES432zJVyZLRDWZuCjD9GiTuxdY68A+CSBGDSgbs= 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/hexagon/include/asm/pgalloc.h b/arch/hexagon/include/asm/pgalloc.h index f0c47e6a7427..0f8432430e68 100644 --- a/arch/hexagon/include/asm/pgalloc.h +++ b/arch/hexagon/include/asm/pgalloc.h @@ -87,10 +87,10 @@ static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, max_kernel_seg = pmdindex; } -#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
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> --- arch/hexagon/include/asm/pgalloc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)