Message ID | 20230725042051.36691-25-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 D8F02C04FDF for <linux-mm@archiver.kernel.org>; Tue, 25 Jul 2023 04:22:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A40E900008; Tue, 25 Jul 2023 00:22:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 65276900002; Tue, 25 Jul 2023 00:22:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CBB2900008; Tue, 25 Jul 2023 00:22:01 -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 391FA900002 for <linux-mm@kvack.org>; Tue, 25 Jul 2023 00:22:01 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 0CF9480A2D for <linux-mm@kvack.org>; Tue, 25 Jul 2023 04:22:01 +0000 (UTC) X-FDA: 81048836442.12.4315F0C Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) by imf01.hostedemail.com (Postfix) with ESMTP id 1C9C340009 for <linux-mm@kvack.org>; Tue, 25 Jul 2023 04:21:58 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dhPD8Mhd; spf=pass (imf01.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.181 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=1690258919; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=vB93ArtAPgJI04UE2ZS3CIS5CHu8ZMIfqGZ+ordlF0sdTh0PBENQX8Lm2GZJhu7Y86QICl GFEGb5xlplIxCn+FvgijzXMedhFD6M0jgyQh07XqzF8mCWQNBKSccvN6cTM0OhuppLnH1t AKM7rTEdlWhy8WgrtzjagHuxVeWUvt0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690258919; a=rsa-sha256; cv=none; b=JoeatzKKvYiroiz1hvadfl2yOn9hkaGQ0uMSnrj74xq9bzXIkXbesnx9GdceJTgdUc7IM3 jNTOmFRfrYYpo+iLzN2pIkygDB+JOYLzOpCgziySB1UoHFASecSQdBUXt9bmuJtdethEY/ Vf3yZSbH66YEIQm8RzWMKPYeUF4QCRg= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dhPD8Mhd; spf=pass (imf01.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.181 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-d0b597e7ac1so2718159276.1 for <linux-mm@kvack.org>; Mon, 24 Jul 2023 21:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690258918; x=1690863718; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=dhPD8MhdzMmnO7UJpDnYU2UUndnCrctJzCVX4h8RxV/2AqAGAmNSSgBAimCgoOXbFI jwqB3InLHcwQnBW7LGy3zNpfxtaFx0sRNMrc2BW/oP9Y9sT30Imc49n106obHaMafKD9 3iENsXyRilYTy2IVeIDj7UinpA3gJg4m95b/YmknsgUr223VL5cVJ4//6IC3DQ94xugG 7BqjgjAuhv+rjaUhUgEIiEByqDs5npSuOOnKXGMd/lRwDVio+iIe4ROtQu1UVk7GVi+q O8m155eNSAMp9dX3vcmdIfcwnE6nUvi43OowEy4OezSv6ZkWZbIGQtYJYSHuCGDVV+u2 iZCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690258918; x=1690863718; 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=DOzSOLTncjJXn0AvJQqE6PD7zrtBe8MIuyz5zw7TzDY=; b=k1oU5bM6wXCdJQxO9N8IfuNXjVtQzH354nirNz03VBp5qwVYLb9w7R9wbdEjOnktqC C8u8l1MggrXLv9l9m1PbBJU9HV4pLwYHarnOSem67A2PwMkXpUjuYH45uYoNW/UTYP/Q u3Ku31ENpZXVVZ29EwjShzIGDWMHF2wJThAZkmxlbsUHKe55h/2GyMVqI9BC2oxlTYet b+o+aq5fy9PRVIO414QIGgcsEtvwmR6NTwri3aH7vq507c6+UN7+UrSKW3U77z7yiLoo /XOsEIdh4JPl5i3AZV6TJFIf0Y3j3SsxDZdGiRrIBOHLlH8S1TA5fDLhAxH2mTabpeMf xnTQ== X-Gm-Message-State: ABy/qLbTrV2vahuJmpByarbrzi+bWErxM50ku1+2mg+201FUxhvSgwW5 S/CiyUEbt2EOGAaaz5Dn/XE= X-Google-Smtp-Source: APBJJlGh3t71iGxZySWvCqAB9/DfGs5U66hmdz8Mr8qCsALi+Mic17AL5W5IK2UTO7itITs/+4o4Zw== X-Received: by 2002:a25:ced0:0:b0:d13:e334:241b with SMTP id x199-20020a25ced0000000b00d13e334241bmr2805085ybe.21.1690258918114; Mon, 24 Jul 2023 21:21:58 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 21:21:57 -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>, Mike Rapoport <rppt@kernel.org>, Dinh Nguyen <dinguyen@kernel.org> Subject: [PATCH mm-unstable v7 24/31] nios2: Convert __pte_free_tlb() to use ptdescs Date: Mon, 24 Jul 2023 21:20:44 -0700 Message-Id: <20230725042051.36691-25-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-Rspamd-Queue-Id: 1C9C340009 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: qkowgsjrzigr6xum9zirxabzh9ahhn9r X-HE-Tag: 1690258918-619773 X-HE-Meta: U2FsdGVkX19oNDbNhVvWknltBkA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GPuTNaHWMM+XKSZY/YsSkwpIHXE3stbLZdhkLeJDF7LpxSSLGkv1NbYFvG8B7Lw0wYzIMsFXIoHJ6fBgwM1H3L0eoukKrRSdAaAxRhiiMyH8zzDc7gAtKQSNtW/Os25U6rO7xCtYyiRds63Y1x5BUI2Vr7SwqCzwUvDUqsuT2dwQ+QguAoBy1MD9IWmr+66bwuWgrlXya1o/40ZC3/2UJdc9Ct2M8kTW/DbbOjJwTOsZNO8VLEVj3cJA4ZWeZlb80uncTXr/NlvEVuaC11BUckm4qCUTtsRklOrpasvqm59NQs0nBaUIjTI7LZFsKyazbpVOWo0Bu2RLpA/Z0W9I3dghANTlxPGu+GQxQIcqOEsEwVSrX1qfjgai41rp4RESy2UXLjJp9MHDs7M/MepQNCmafqDnjJ9ecVbAOfllcfo6he8y4kz96mwooFh6wDcKcxeyeSfGL98HdMmkonqKZh/7H9VDYgwYX75/iIUmfjVDLV9GvEsRakdAgxZjAUHfX2y1/rlwCz2Fd8lFQ= 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..ce6bb8e74271 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 { \ + pagetable_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ } while (0) #endif /* _ASM_NIOS2_PGALLOC_H */