Message ID | 20230731170332.69404-21-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 4B878C001DC for <linux-mm@archiver.kernel.org>; Mon, 31 Jul 2023 17:04:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 260E1280071; Mon, 31 Jul 2023 13:04:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 20DFF6B0183; Mon, 31 Jul 2023 13:04:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F06F9280071; Mon, 31 Jul 2023 13:04:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DA4266B0182 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 13:04:21 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id A8734140347 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:21 +0000 (UTC) X-FDA: 81072530322.30.E44F214 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by imf09.hostedemail.com (Postfix) with ESMTP id 92F7C140018 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:19 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=LZWvv3P5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf09.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.170 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=1690823059; 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=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=y0SPS2ttpw5+krPLLw9RuJx/2e+SMOiP4jPlQQ4B6XJGdfXFZnWnobo/m5dplKKEd+55ro MC5pXOOWpK8fqTmIdKTHM100fjYw8ZLkFKVuVpyfkMeUVLCYzjug7vjCoR6vZacNWzA2sq 9xolOqG6/auZeGKdkvDSZ+3fk+eGRA8= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=LZWvv3P5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf09.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.170 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690823059; a=rsa-sha256; cv=none; b=5XIAmLxFmdgwehh9SWxtil6Guptfh41iLaoOh1ZIuSXYdVFcq3jda4weN98HskwdKRAXkB U0RlAsiA9LE69VHxKcIyN5PAQPi/j6GIGaiIKKCrm/h9R5aekQ/fHmmb8IELxG2bBpT2YF /tA6qkJQ6jU5FvG+WTdN4j+PoT+4qY4= Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-bff89873d34so3787359276.2 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 10:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690823058; x=1691427858; 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=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=LZWvv3P5ObD312NoT3HCx6hT2mcipY2zu8mSMdCIx/PBIBw4fnj2ZRkQKvrh+bnMcb cAhsWuRoUJhfVjNPelqZekFAhbwYfyzvXSZQKgwb66CUaJSig1RixymjgB6EpjMZeG9i TPX/SETFM0d6TUT+vW8F9GlkDQXYjB62fk/7jUTcwacjm8I/TfM4mDRrCt1nWg7/91vP laynl0EMAor5eoXfG6EYJS8WyMBq5PEy+tqv6UFYxDYMRASimm9gjZvXzBE5l6AVAiGx CLfIZvVLYDlmtO9VH/rc+XPRyyAblWv0VbvnMMW+5OEC9ZkYXTzgntXD+ElukV+Op4w9 X05g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690823058; x=1691427858; 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=aUnc1suNAj/KzreaB6s7vAsOWiJZx3FNBLzDbQjj/SU=; b=R5L+z4YtB7uxrkX+x+y/Wec9ib4814SmyOH3fDb9SK/71rBAkIfw9eojfyn7Okt9LF ZpkonG4NODn5P+g2ricWHIxq4jM12oYoQyN5fetC6r/VHUrW+bEIffiirYAGDg82lVZ6 rRl1Dhbs3U+mO1UGOTotfWsL8sARaaigj7SLTkk/W8Ps5gViNgoNk3A0PY6aG0xdII/x R6YMvrkUMjKsxEitBZYcecvKEDIMD3uZncqL6i0g9LqJ1yTjQZQP28TU9P/3iOj+eCQc siziDE9HI6ofJ9fLfdjM020oIogsNAceBMeMDlN3nKNOnWS5iuyVMWQEe4O+KdthQh9I Fnug== X-Gm-Message-State: ABy/qLafpsrB5hMLA5WNCsoVv/ISJ1bdAdnqtEG16M6YKRA+QfJAVyF9 zr1i8GWLehb/F+qlhqaY5u0m6EQEivk3WA== X-Google-Smtp-Source: APBJJlHweyU7H3TneHig7w5n/DLDjL/9e2cIxm5cNvwqW36o28cnjEbZQWmE0nZHXnpgzHbA2ayWvQ== X-Received: by 2002:a25:acd2:0:b0:c6d:f875:520e with SMTP id x18-20020a25acd2000000b00c6df875520emr7715191ybd.49.1690823058269; Mon, 31 Jul 2023 10:04:18 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 10:04:17 -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> Subject: [PATCH mm-unstable v8 20/31] hexagon: Convert __pte_free_tlb() to use ptdescs Date: Mon, 31 Jul 2023 10:03:21 -0700 Message-Id: <20230731170332.69404-21-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-Rspamd-Queue-Id: 92F7C140018 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: wmq8kca4c6hejuyuqawzxny4qbitmpsd X-HE-Tag: 1690823059-568146 X-HE-Meta: U2FsdGVkX1+CdIzk7HXl2pvsw2d27vM9X7Qt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TGnTIhYyUnalmvAiV5ihE4XJ+hnubmjCibNVf8+f/XY45SD0oaACGOlF+538w4nUPHfepGYc6Z7D1z/zcqXw0Xif81Q4+NTsbd6XsbHVmorCSv6014oAtszmmfnw1zx24iWnZ43KO+aX5fZlQwv86o3SiXocrX1HJwrqIO/Srp3mK55AVy5f3/mreFb0fz9LTfVnSSVnHP1xHnxO3FIbwO1iYpQ3ci9Polv9I5s8CjLCTTVEiHvEWjkdMc2FU16Ac2i8uTYiyWKZaYM9jtGWnty4aLAuVPhIJG78ihC+G5cJBcQFq9MMcJc7BbkvyUXDzGjB1YZDsBCEluitN+rKqaMCvzDO3MT98alKLoBboC08NyxkFqJMEHOW+e1BCLHut+iNZpu58khTOFwj/ElyrYvFN88swR7CgkKqAh8uuUpyJ1RySGIUYaBjWkkFx9UUVXM+9ry3jYph+wyv/8UosSFr3fbNe5vcaXU4oodpANbvAuxNIJ96rXlaVt+1xikOISjb0= 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..55988625e6fb 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 { \ + pagetable_pte_dtor((page_ptdesc(pte))); \ + tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ } while (0) #endif