Message ID | 20230731170332.69404-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 45B07C001DE for <linux-mm@archiver.kernel.org>; Mon, 31 Jul 2023 17:04:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A75FF280076; Mon, 31 Jul 2023 13:04:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A24366B0186; Mon, 31 Jul 2023 13:04:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8EB7F280076; Mon, 31 Jul 2023 13:04:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 7E24B6B0185 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 13:04:30 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 407A0A0AA0 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:30 +0000 (UTC) X-FDA: 81072530700.01.AA7E6CF Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by imf16.hostedemail.com (Postfix) with ESMTP id 7AB6918002B for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:27 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=f6adceAK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf16.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.173 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690823067; 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=vaVAXP6t9lUOwQBLUG/JQz69iA2mAFe60sHZ7MFCF5r/deoaOC0X3BLTap+zyj1yUJ5HWE 2sG69ukTiEzVgFLzGrcyMEi1alGPstfUXVOCI494mJ4NcOEU7GlezNykqJGaURIB3y2npy WKXw4PDH2UqbI8zhKWUWsQsWYTuKaY0= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=f6adceAK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf16.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.173 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690823067; a=rsa-sha256; cv=none; b=lM+t7ysywQ8z08bYDj4mswdbnsEbB62IgeYItSZaCtbhe+s7zBD2Jb67YARE9zq16L5Fev LOVDUtojk3kyS75PP1pH/gH4SUUJYHSM6htBT+J7istTipKOpKgb4Nk6GYHA2pv6sN8Axu hWigQB/hqdOT5BmoW6X/EnsW6+P/6XQ= Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-bff89873d34so3787493276.2 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 10:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690823066; x=1691427866; 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=f6adceAKsPvui0l7VSUiRnWj+VnC8V29gRyKPW/KXba4L11duKnXDkkl9h+DOUEe82 /+uFEmkPUA7pfwVfanOSjRVPX3wfPLVY3FZPvGi3VyyqlsToEnHzzIylic2yHwlsDcH3 W3JP9R5mJExPbkEH69AGyH0gizw4AowCqMoujs5LGqqMzZnJK/dPFOzk0elvmdxwimx1 zHO/RBskNqXdsMC9zN3IXGN1/Qatnc3KRzwrgmn/b1CAPxkc6smcQgcPCS+F4TUkpdDt 7sG/wG+FEbTCZLXxJ46EURhFx988hfZQfl6N1HhCumdsXb4Bqj21mhmFktRwf8yfQcyF sVPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690823066; x=1691427866; 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=KNmbrsxEhzmBIUk95/tUxdY799mdldafCGQi7uMEdUF6B3Swbj+mXfAVrrDKPzcTgv 0+SUUAcEuJ/S77Q2KWs1sjesUNTquQStRLxLs4BnTbYTIhO3+nIZInNBsSMKeumfPMDR OC3BqKkC7KpOKNt8Y7b3X9Q18icjAKZeOVNAgvR9+WR6sSewv0URBxhOu7JQjR8X8aQT tWncNsHHFpq/sCP2Tj2SSprZ0EPIPq4YX9FnE3FWn+9f4EHRBXhOACUm01uJfLB2F+0h kVA3oUl/kifYxsv67X9CKnko2WltNwenMDc4eJu8is2/Q0KYGtVw988ImZHaytZV0C+d Jgpw== X-Gm-Message-State: ABy/qLYUUMrm+YyxvYixa6BlFs8lenKDCefK32IyG4Sf4lvCac1sGmO1 yQYEiU7K6gO2NpgAFWc54Mc= X-Google-Smtp-Source: APBJJlE4T05ogdyrjIbBXTs0RpkDVTPnYG3Ig2UA6lH+KuSSQ9n98n0kBdmmWfFoFgc9s9NgVox+UA== X-Received: by 2002:a25:ada4:0:b0:d0a:8973:b1c with SMTP id z36-20020a25ada4000000b00d0a89730b1cmr247583ybi.12.1690823066447; Mon, 31 Jul 2023 10:04:26 -0700 (PDT) Received: from unknowna0e70b2ca394.attlocal.net ([2600:1700:2f7d:1800::16]) by smtp.googlemail.com with ESMTPSA id x31-20020a25ac9f000000b00c832ad2e2eesm2511833ybi.60.2023.07.31.10.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 10:04:26 -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 v8 24/31] nios2: Convert __pte_free_tlb() to use ptdescs Date: Mon, 31 Jul 2023 10:03:25 -0700 Message-Id: <20230731170332.69404-25-vishal.moola@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230731170332.69404-1-vishal.moola@gmail.com> References: <20230731170332.69404-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 7AB6918002B X-Stat-Signature: m358659uo5wrhpbfy35xoju88zjgip99 X-HE-Tag: 1690823067-399167 X-HE-Meta: U2FsdGVkX18wAwyeCLgAmTJc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DtLhR0LqWpVxrGa2NevPvyUdBpcZZhDCcqwse/yR+dxhDosJPkwntpz9gkKLRrUgK+6VtLWJ3jx0qLIGvMxxgkBCKFNOOsU+i0043Ffdh20PqjdPautscMqF3vpj2jnoKfTKeZhS4iID0kvqr7jR97nwtCRbpZzpnYmLAuUP8gDvSkDMRjb1sbRa3xvFOwT0NBUKC0UKQPqSgvRpdHzhxZIEP2GoytlegMwT8viJ0VoTIivXU8HiHmkp6GtPdTM4cLSYCb7RU4GqXeEBrdAUBlH4p1wx4ZfIz1CFGhzdO6wvrXS/qEsa11g0DrJd5QAA0L3USFa1SqcoPc0SdCTrMPgV/2N9kWF3EUB/8HC6rdISTwBfpycqhSHpzpg5bS7q3HSCD4i1bOf/xRcHn1j8nZoYuvlixorMInkLP4d0uBrANKMqDYiuplAIFyGs03W9mC7VnxXZXdWBCWNIRVP5HfNlfYpMWtY70zXv38ZEWlBVQVIAV7A2S5+lNkCm+9bK8XTnQNoufrFYBh6YXFknNR64= 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 */