Message ID | 20230417205048.15870-23-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 D4D3BC7EE33 for <linux-mm@archiver.kernel.org>; Mon, 17 Apr 2023 20:53:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3D9E8280004; Mon, 17 Apr 2023 16:53:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2ECF76B0080; Mon, 17 Apr 2023 16:53:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0CA70280004; Mon, 17 Apr 2023 16:53:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E5C2F6B007E for <linux-mm@kvack.org>; Mon, 17 Apr 2023 16:53:18 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C06F5C0634 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:18 +0000 (UTC) X-FDA: 80692083276.27.9880F1F Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by imf03.hostedemail.com (Postfix) with ESMTP id F0C5F20019 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 20:53:16 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=DU+PC+Lb; spf=pass (imf03.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.216.49 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=1681764797; 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=50k4LBrsg9tKh76cSVjOI7CCYg5ldzOB4rmd3wrQsv+oGjqf8gw3ONCFDi6a9Ki+/yzFBU /AwHpyuo8uqWGiZpHJ/4+vr2LZWvi2R7WIisQsbhmhnVryiJaIet7TioFl320V+GqPp0UW KzVb08PFEZF6ovEWmTrmrPUBs84sWbY= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=DU+PC+Lb; spf=pass (imf03.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.216.49 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=1681764797; a=rsa-sha256; cv=none; b=HMp5LAjDLQbdHWvrZVCp9yxON+hwlBR/XIgIf8vIy+IuKAIMs0CLDJPg04JoAWVUEUPbp6 UjPsE1yyjOq03/xuI7lh8Lo2Q/tJvwqhXw1hS17MrjhRo7klsuCaGVSAlAf7UBsIm7ma5v /X7Ghi08azckQGVPy9HiSGopycaRaow= Received: by mail-pj1-f49.google.com with SMTP id x8-20020a17090a6b4800b002474c5d3367so9750923pjl.2 for <linux-mm@kvack.org>; Mon, 17 Apr 2023 13:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681764796; x=1684356796; 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=DU+PC+Lb75+sxyzE8TFBhUq23MhtXNiuA1nw0c/GhsuV5IK3M7l/Hh4azDLq1DRa+j fu7HXiEzvV3T+N5Mt1is7DhkrUBl4PJsqFnRPYaX3oFVj8P6Qlk5ZLs6mljyu96mU+sv zpquQbUhbrKn4GUU7udC1O03s9ThOPwnMOZQlJkJdwRy8ikjPxI0naLAwtnZbb4WzEoy 3BNpuQVnvIHEKJKSenAtt9bKOamb6q7fxWlfz+PtLFjOTztncr7nNFnGXeF7WX7UQ2CN r/J7luQKDmaqSpU1aG4/YKRgzEf0E8SysEU40ARw1q6PEFiJTtJVgg7dYOEMGKOTGrN2 xyCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681764796; x=1684356796; 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=WzXoKl63UCqv1udV3DOTjBvSYmnntshRpY8JY43a2ljv6tysiMQItoBbRD2hmopSyz gFTEsi0MjcsMe3ODxZ2K7PAPuK6A3B5evkkSQ+kTNzReBBEPTfRF74fGADsNWQv9XtKx 2BU8Kzig7tv1I+GekAJk4kqazobSFUrlQ6RFLJDO+wfCAN/TwzP/sMxJIoowCYjCh7gg p5OPBcm3KrMbFrvTbOJcxTYnhLIrHJK+FCbuoBKFAfk/YW1uzN3QZx1vgyQBOm7eAzSd VbH3UmUUJMP3HjFhaNvxH2hjC7W02nWcwu/W9IsrG3l8+vfgGRz0YZQyu4zKsIrWVb2P 1PhA== X-Gm-Message-State: AAQBX9cF10B+Uc2KD1lIpeDB78N6+wYKi2QewnIFEk8D5aRY0WolsFRQ qsYASVzEbSnoiMVDghYjwRw= X-Google-Smtp-Source: AKy350ZcoHXe5N321oYs87Q7Ayd5DnxwU4W2BhAi27QaGMsyV7i9NrgOQAsujiVTD54cy1B75qhHjg== X-Received: by 2002:a17:90b:3b8c:b0:23f:9d83:ad76 with SMTP id pc12-20020a17090b3b8c00b0023f9d83ad76mr12727299pjb.23.1681764795745; Mon, 17 Apr 2023 13:53:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 13:53:15 -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 22/33] hexagon: Convert __pte_free_tlb() to use ptdescs Date: Mon, 17 Apr 2023 13:50:37 -0700 Message-Id: <20230417205048.15870-23-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: cqgfzga5du9xz3fwgaky4ptce55m6jt5 X-Rspamd-Queue-Id: F0C5F20019 X-HE-Tag: 1681764796-567460 X-HE-Meta: U2FsdGVkX1+YPVWOyT40A1UEhg8xgF3GRWZR4r0esj9pUQ7XYd8QkMqSwGMw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6s5IzI3M6k53AI+BiGLPzBze6asYRXGkkSd2EjlVlY7OuxPLnc33CpRfBwsq4BOj6crozcE9yMyO3/x12DywNbIOW04aQ9Xc2Gme72f041ozNGQNAkEfUPZW8rjzLH+Td26ZqRbVkCWnm4IqS+QvWBKPCiOxye83wdmWB9IT90djTY0zhgtSdw1tP2sMdBMe+lLqRRhqWpRolqhCgdl4irh6oU7Jdbj3gnSJt0azwE9gnygmWvyrZIKcn6JYrmt51ofeK86+tmbF0fBfHlwaiBRhrOnS7DBEDL7Q4SH3ySCMhdM9K32F2ud3G4/eQpuYL2VwZCH924PcaenrlvR4HBLSzy32LGOHw0L6WJN0vOG+H2veUcXmCIWDByNJp4y7OTa6llDN+OGrYTC8HMYTRtKP29fQ0mPa24qKciMtPir9VnxpFMrmKqmdwHFYyYXTYt//DekkXhe2hsXO61iZg== 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(-)