Message ID | 20230807230513.102486-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 D074BC001DE for <linux-mm@archiver.kernel.org>; Mon, 7 Aug 2023 23:06:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 58233940019; Mon, 7 Aug 2023 19:06:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 46D34940008; Mon, 7 Aug 2023 19:06:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2494D940019; Mon, 7 Aug 2023 19:06:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 17F5B940008 for <linux-mm@kvack.org>; Mon, 7 Aug 2023 19:06:02 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id DE64B140597 for <linux-mm@kvack.org>; Mon, 7 Aug 2023 23:06:01 +0000 (UTC) X-FDA: 81098843322.14.13DE3B5 Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) by imf07.hostedemail.com (Postfix) with ESMTP id F08BE40013 for <linux-mm@kvack.org>; Mon, 7 Aug 2023 23:05:59 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=gXJTXcEv; spf=pass (imf07.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.170 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=1691449560; 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=w5tIdqLMLMEIndKmulGbjbVGcWP2eiFuISuM6iDOZlQ=; b=Q8KgLjCdX+N9Yfz2dBMLurdx+ZbdNattSivImd4Mo5+ADDxzZJwkpRKmUnDG8asCQ3Gkm/ ij1B19Y8WApMp07tYbKyS3IZz90teNYXLgzh0fKkF9WLQfahsbFy3P4j8x+gPrb1LIsT3d /QiyEMa0kKNvhMNp6B6XpB3jJ3uhPQM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691449560; a=rsa-sha256; cv=none; b=NcvvZ70UfsgkHExMOhPlNpbTppM8UAkZBnTYKaA70queq3xe9WiEW+i6Eh9PTpKTX+5MBY JPjgUxlYon/qfhIgh+Bca+kyS1Rwp5yWnGiuh+T1dC/wWZ1jSpDMBefQYPQfpp6pzDqQcF EFd/gNw+uO3R14sWeVB8gBImeOsa+Q4= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=gXJTXcEv; spf=pass (imf07.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.170 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-bc379e4c1cbso5465403276.2 for <linux-mm@kvack.org>; Mon, 07 Aug 2023 16:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691449559; x=1692054359; 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=w5tIdqLMLMEIndKmulGbjbVGcWP2eiFuISuM6iDOZlQ=; b=gXJTXcEvyVT7IoetVDXBwB8IPw8UIwzytrLAqRYME0pNQ9C4uggCnI6RPeBYUmiABc NGa1RjP9x6Az35hUll5l4sYYgp98uBkULFey+10bJthE9R/J1BfMB4fjSuNmCpJ1YXG1 ARmLg59bINaXUvevzM80HySnkL9LRFKwNZ83rXMUa4P0U6g1vYwZDB00ToF81qaBEF1+ SCcl4G/9B02tlTVDHjLxfkMGL5hqppCgW9NlCKGjCO3XjVlW37imlXi2cPPjZHQnQLsK WyhHmorW6P7DI7CdyMJrfi88WQs4xcY1ld9fhabvXIyG+tqrpY5PfVFDlBq81eHbR+r8 HFBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691449559; x=1692054359; 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=w5tIdqLMLMEIndKmulGbjbVGcWP2eiFuISuM6iDOZlQ=; b=MxRCnkDPDASsYFmDnDcAWBc5U0BnCvJmqsEGM5/qM6Vk5fc7z0vGPD7R1VtZdXRzpk YiOA+PAtwMgO9cpjvYOY/uhz4Nnhauy+KcA13gGtZxKEgSRqATyD/MFMZsO2rfttVWPe C8ipio9ysHOE+/oCh/ht2mKM1nedvMGgqkFrKbxen1OHCqxi3XegK6w+VtZc1/Z06det vYW5StykHrL5k2fSolcenF3JogitNcNUtj5jxlBSD5w249K6vB3nlRO9f/dHc9fBhMVD v8H9JREeN9ER/816RuCYdTdqpmpMlOVh/qSPC8JGuMNBglpXbrNO50s0MpNWZH6fRDQi qYZQ== X-Gm-Message-State: AOJu0YxvLniTrKLj1SHVu/OFrR71CqzpurI+U6kCTp2SLXhJF226ui47 33V597TE3NNLYQwAOBgMvuqd7aZD1V278Q== X-Google-Smtp-Source: AGHT+IHgbeu9fOmMS+FNlr/kvyOX24cSJUZ4nRlF6aWfNWe7W/NjYriU1Zmx+jVELg0QXXl18qiXKg== X-Received: by 2002:a25:4b81:0:b0:d4b:ec36:bb85 with SMTP id y123-20020a254b81000000b00d4bec36bb85mr7290071yba.50.1691449559015; Mon, 07 Aug 2023 16:05:59 -0700 (PDT) Received: from unknowna0e70b2ca394.attlocal.net ([2600:1700:2f7d:1800::16]) by smtp.googlemail.com with ESMTPSA id d190-20020a25cdc7000000b00d3596aca5bcsm2545203ybf.34.2023.08.07.16.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 16:05:58 -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 v9 20/31] hexagon: Convert __pte_free_tlb() to use ptdescs Date: Mon, 7 Aug 2023 16:05:02 -0700 Message-Id: <20230807230513.102486-21-vishal.moola@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230807230513.102486-1-vishal.moola@gmail.com> References: <20230807230513.102486-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F08BE40013 X-Rspam-User: X-Stat-Signature: tidgb8cwif1q3tg3d39493q54a94myiy X-Rspamd-Server: rspam03 X-HE-Tag: 1691449559-397364 X-HE-Meta: U2FsdGVkX19sNI6sI4U9aq2AmROfKP76fvV7p5c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ufQfvjk5EafaBsOGK6+cb2Lw5vWdpjz7j/Nudtk2N2bd3yWV83xbRBFELdi+PYvfxVUaJlVJqBAEMXjSyMNoREMq9SJxLYES62yfFt3MrSuAJ3FsZ68LdTEJYKgEHiRJqnm6X+yQuj4kVEZTfZrgHzC6PestLx+ayE0XcGTwzM7YkfL+7sX242Yr32ffRb7VZ8kreSZ6R1sHMk5OqKjBR2ty2C9FfFJFOyPXGS9uolgnBoNOgyGQhXKrOQKNbVelG1lxzjKSBcluEtUEcT4rVCpY0LTJ+AkWifuuLt0ihh6Au310g8TPVvtNf6vJWkyWsoZATU0ypk+QWZ28Z3PAIvGCGx7dGPQ5dk5UiMrdCPeEhF896ZY5jCFDVFPAaPNGc5XIgXO0nIPb/7dC/0utCFoGpW1Wj5Xl5R6ys6GoG/q+m5GrnYN+P8+oM+oqiFulPO2piUl3h+ddiUw4JJzIDoMwneo5b/HXbib5KAorYYnXeL/DrVz7nhfGTy9n2KrEl1iZjii1hncuvZSay0= 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