Message ID | 20230731170332.69404-20-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 3C322C001DE for <linux-mm@archiver.kernel.org>; Mon, 31 Jul 2023 17:04:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 40BA7280073; Mon, 31 Jul 2023 13:04:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 36F6D6B0184; Mon, 31 Jul 2023 13:04:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1BFB2280073; Mon, 31 Jul 2023 13:04:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 0A1666B0182 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 13:04:26 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id DDD0A1A0A29 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:25 +0000 (UTC) X-FDA: 81072530490.14.3F03FB2 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by imf13.hostedemail.com (Postfix) with ESMTP id 458EA20050 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 17:04:16 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="VD/5YQf9"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.178 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=1690823057; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=JxjwdFHXbN+va5/Vc81+OEOZ/qa7ZhWdUdI6m8yyRqYGo5TQ2DjZwRcSVaMP9+kihatULf WPRC4e9OVWif6D2nBvfZrRhuB2VG7mHpcHmmyqriabvM9BwlS0uyYVSb2HXtqgB5TTxhiA varO/isdiE28kNZpF3UuWT/tlQI2UbI= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="VD/5YQf9"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690823057; a=rsa-sha256; cv=none; b=TTMgP5F2iEhq8DXEogzpUB5aPYc1KX6Sb/VMnAm97je9nl8kOB5gqf3xMOQZXGQepMW6C4 I4M+htdIBsmXEzEYr3jCYgFcSmB8S3WzgUh7LaKfzlvXFGgPpWfLOH0Kk4y/x2S+GlARXp 52zuy7BCbXUC7reAXhpKPyrUkrW1hx4= Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-c5f98fc4237so3738599276.2 for <linux-mm@kvack.org>; Mon, 31 Jul 2023 10:04:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690823056; x=1691427856; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=VD/5YQf9dWYT3s+XLCXcwwiIVAHAp/pIe7AMdOvpExYmK5HjPOWTZu09sLOfQMxAfC OXuPdz7Tj/gRexFEV/+v0Lea9a4mnAUKnOzN7P73JNN0+oqdEeWVHp/XrVyDKMN3Sqzq XyvfOK4vNNg4SIqEO+DbR5HnEigDlCQMi9XWjP33h/pZyUUMJf9cJEbHTYSdJe7xIVgq 5L6GenpajpPmM3TvCUDFhBdcux4f7GetW1kVA2GoYO0OMNWSzyNz+zkHnzCWEOnqLDpJ MBPlFqECJSKW8b/LiB8vJt+wWDGPekjS3XxHyTLS29uaM77UixmV7cvi9KvK+lFaz9YU pXeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690823056; x=1691427856; 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=/CuYJ7liBLmFxtlpmCAIL/qtog0vkZLk1dVk72P32nA=; b=SY6sCqTIRxy3ki5VWdOQLFdjFYu8MVqhhB/pgJS6WuYd5eKhVKc8IGL1F7tbtc3LHs 50EDdqTZ+jIusjT9Y6MDL9Jzq1w/l6qgJg+zKQBbXzY6VsdnBv+LJwZQJj2oL7Nh4W7k n8+VfDDfIltHMXokTb5zxhI3qFuWFxxbODDtk6rQtHhD7id8yevIHS2gmVOaujsP8SQd WY2REfVtZuy4PdySULGGU/XjAyN55E6Bueb9wz2dUtKm2+zz351i5XwDSyKbCa5edgKM CZ6wMOiUDoL7a9GGTZ54bhwNeGfJhwsbsFtG3QtTRg6TxA8iBtO+9q8r3FcvdxQi0M9K 33Yg== X-Gm-Message-State: ABy/qLaBACd55SlrrGdrQa/60WtzC/t0NmXgbVFfQpnfF6jKla09YdWt pPrmqxFCbU9CzeegaE6KdSA= X-Google-Smtp-Source: APBJJlFHDXc0WViYFSb3R2hW52w3IhQItZ8A+xKJNI719Lf54J20Rc3nckyX4WKCIAYzzN+QzoVnBw== X-Received: by 2002:a25:734c:0:b0:d11:61da:3a58 with SMTP id o73-20020a25734c000000b00d1161da3a58mr7589775ybc.54.1690823056172; Mon, 31 Jul 2023 10:04:16 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 10:04: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, Hugh Dickins <hughd@google.com>, "Vishal Moola (Oracle)" <vishal.moola@gmail.com>, Guo Ren <guoren@kernel.org>, Mike Rapoport <rppt@kernel.org> Subject: [PATCH mm-unstable v8 19/31] csky: Convert __pte_free_tlb() to use ptdescs Date: Mon, 31 Jul 2023 10:03:20 -0700 Message-Id: <20230731170332.69404-20-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-Stat-Signature: gjtf3exdoc68cuohyyc7sistb7zysyy5 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 458EA20050 X-HE-Tag: 1690823056-856377 X-HE-Meta: U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xX1lbxMrMvXCsc+A7PtXnoV6E94+bsoOab16rjnzr6wuaDQQDdfzJOiCsuAoBKygtJHcdW71hJjsYEK7goBbjvZ/9MsHMVE+uLXeD2ORKSNcyLv0AfuqogHbcpW3EH8HLjbece3YULPqAGeDuFrvwT3kjIR8TbDBKJNnBb/rl8lrrI5lkDuAeRoxLqzfPtQtL9iLudo9ISzMwqdLWoTtTAB9y4UNOHStVBj8BML8vxi6It79uR9OXA0E9MtkNcg4h/OCsilu2N++noQi8XxJQjFGCmy0csF4TnBZ+7+sf82cT+biXz8oojqvNZeDsDjmGqYnfXf55aCG4bn2tPTJHPp0l5kQO8Yq/b1EU6N7i7/83uBSmMqdTJlN7oj56Jsd1gbQudcIBsmbBefYxplTMl86H/eKBPL7w2gIUCcjcP3d2SSnbY7Pchw2R9ipqWFVYkhTtfhQWQqzRKnAcopYn77XHTs1Ty1kUDxOplDE02+vyVb3JJzbfLvwmA1qLGu5ytWcoA9fMnTH9Q8yAGAS2F/jySJgvQe1YjHOEKQNr/dI8ngVv+ZyY= 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/csky/include/asm/pgalloc.h b/arch/csky/include/asm/pgalloc.h index 7d57e5da0914..9c84c9012e53 100644 --- a/arch/csky/include/asm/pgalloc.h +++ b/arch/csky/include/asm/pgalloc.h @@ -63,8 +63,8 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm) #define __pte_free_tlb(tlb, pte, address) \ do { \ - pgtable_pte_page_dtor(pte); \ - tlb_remove_page(tlb, pte); \ + pagetable_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc(tlb, page_ptdesc(pte)); \ } while (0) extern void pagetable_init(void);