Message ID | 20230501192829.17086-23-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 D071DC7EE21 for <linux-mm@archiver.kernel.org>; Mon, 1 May 2023 19:29:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 25CEF280015; Mon, 1 May 2023 15:29:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 20E4628000C; Mon, 1 May 2023 15:29:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 01289280015; Mon, 1 May 2023 15:29:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E6C8B28000C for <linux-mm@kvack.org>; Mon, 1 May 2023 15:29:08 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id AFAD81407FE for <linux-mm@kvack.org>; Mon, 1 May 2023 19:29:08 +0000 (UTC) X-FDA: 80742674376.01.F81BAC1 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by imf12.hostedemail.com (Postfix) with ESMTP id D233540012 for <linux-mm@kvack.org>; Mon, 1 May 2023 19:29:06 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=q4na0YpY; spf=pass (imf12.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.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=1682969346; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=Jh0At93Puain2MqcZJ0s0tEYTEl3DqU/hGGJdhJQLVIqZmHycufnX4ah8AYokL8C6ybZZr VtzzUTCdPLAT1KbaHmgD9vo0xHXdrPIilix7hd06zflTmAhQHXlkINmvXP+bh/Lsu4+MeJ 23l3yZz6IN6ybj1u34bCiZ/+yLnZ6iY= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=q4na0YpY; spf=pass (imf12.hostedemail.com: domain of vishal.moola@gmail.com designates 209.85.214.181 as permitted sender) smtp.mailfrom=vishal.moola@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1682969346; a=rsa-sha256; cv=none; b=Ctbh9VXJMP7eMty4zdFFr3897wJ/VnQKBfvh5VJm2snTiGMjx8qHu2hR7qFQRAstU7xT8P oTcfXRA3EB6eD/uG6GcSQMT9toO4EYtIyZO/SH6BNKTwkUDzbs862YSclpyPMIj3t+ww8W uunZYMQgeBIIwVdXk9F63QnjF/3nLgQ= Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1aaea3909d1so17752795ad.2 for <linux-mm@kvack.org>; Mon, 01 May 2023 12:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682969346; x=1685561346; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=q4na0YpY6+HIdR7eCjpOfgl3pLZKXaYPSEQBquag8z/68f0H1ARrXFU5GHdi9YxK8/ rB/VLGJXy6D4ZufE/2LOOEwnretxgWAB++ZlGVRxVIYCoUOlMN8apcsmkHtbQevtOOJx LNKiQlcElPDsuGjD80MSn3zT41r1jijBtepWy2itQQP8kPb/qbuR3Nu9du37XsuFat5b tY9vSCaH65FZJZYGzqq6Sev5FEiEarceFI+PkCB4zysu+TPDmYzeupQ3qWrtewRiW+Ef pPbEC2E+2Gu9odmO4zWHfrgw5vSTXCdgYdvlBNlEJqZMmLFOH+elBEgtadEGjmhbbSeV twkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682969346; x=1685561346; 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=WInZHFLF0E37CPvH/fyQuQmpONrFi7mPGahLu3Z9gNY=; b=Bp2DOEb+T2NOskvaYwaErKogi6LKZtmODM4EYnEsccnr7fw9MTjwD+bMyv1lt00dsy G+CfL8gL+LY5vPs74WykmMVCTjV6evvS0gE4mOmgjdbiQPLXW001WEgleyVcaROa9k89 YWyW8I1ob6ahADMNwaca3TIXcYqri1zeHykPpOcHz9uYP+zyi9oZhsFRMwHuG59NHbeT 5LJ31lyPLl91v5RMP6kI9jTBnjc4Hk2Wn7Nhe0UP3ZuIB66Lso5ras0D2xmrZuQTQA5x v2uOd0H7EBVD7rI9a6+cXO/Mr6RDC5cAn+G7d7e7EcEgOWODDYnIYVjhdJziJKM0DnQy U+GA== X-Gm-Message-State: AC+VfDyFGUKOHahWEPUcKjYGSTbpYg41lAvvR4ANC/0kwn+4XNkFsIqL ioHOBUhLIUFnIbKSYALeGX79WtLEAFREhUWp X-Google-Smtp-Source: ACHHUZ4G7uSDpj0Az+Rf76NPdw6reyXbUYX/RD5L7uNUC8eMCewkmfrtYB+I6yNLHyDYyReDKoyXCw== X-Received: by 2002:a17:902:c947:b0:1ab:8f4:af21 with SMTP id i7-20020a170902c94700b001ab08f4af21mr235908pla.42.1682969345737; Mon, 01 May 2023 12:29:05 -0700 (PDT) Received: from fedora.hsd1.ca.comcast.net ([2601:644:937f:7f20::9a2c]) by smtp.googlemail.com with ESMTPSA id u8-20020a170902bf4800b0019c13d032d8sm18175622pls.253.2023.05.01.12.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 12:29:05 -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, "Vishal Moola (Oracle)" <vishal.moola@gmail.com> Subject: [PATCH v2 22/34] csky: Convert __pte_free_tlb() to use ptdescs Date: Mon, 1 May 2023 12:28:17 -0700 Message-Id: <20230501192829.17086-23-vishal.moola@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230501192829.17086-1-vishal.moola@gmail.com> References: <20230501192829.17086-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D233540012 X-Rspam-User: X-Stat-Signature: u16eayfeubm61mmwrdf1zjhtamfegab9 X-HE-Tag: 1682969346-54392 X-HE-Meta: U2FsdGVkX19DnXjIjUncDdxatdHaQgjprztSNZX2c/C/30cJKD6iKxiWfFNbJLNJsGV716d/zwEGlcCMLoRMsGel+FsSR6YaHs/AW2cxYwqD+jcFWLqutsAz2gV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Z4njhEauY04wDm3KISwCU0hu0wgfesF4Hb2iG2QeB6pG6ohjEqH8SvbSSiVeUtgJnt1VdXUNYmcC2WADbdTePSIfk1FabdqoTNcF8dbSL+jjZFvc23Kje2kZ5ss/Vsx281uPlOUwN9+9FDOenUCrvhwTegWHkC0m67Y1EVVo8patBe6vXy5/rDya0Q+bT97BKLagkj0pWPoaDR/hK124khWx+B0/XPoEvpnOz9xKsNz4MgN7jTPH/+KwGdoCFbRhxI4/zhYFaJZvo9G0H0tvgotAtgyNJpO6UBRGGChGS2QqCYdugEvLnk47uFd3hoFgn1cDydCDDMy1dcKAFLYAMUiVY2KgJNw9KCH1nIuHyB8h1mXueFO0hkMMq/mY= 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..af26f1191b43 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); \ + ptdesc_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc(tlb, page_ptdesc(pte)); \ } while (0) extern void pagetable_init(void);
Part of the conversions to replace pgtable constructor/destructors with ptdesc equivalents. Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> --- arch/csky/include/asm/pgalloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)