From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D02D1C3DA6E for ; Mon, 25 Dec 2023 06:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T0qX49IgCx8Xg3bloh7JC/2s8Q3YioUMjK8KhE9y0Sw=; b=XYvt+sRzw+oihM 6thRRQ4BJn6SXxS/HgewvEcQHIQMZlkXMUwrIuaoHV0Z+Ab8p6uqXdc1y7q+yBju7zWPXta3BXe0j //mi0lnOv268yd//p23Uw+5AxI894cBuj4o3wWltMfE2JGbAWliWzmfD8a25bAoGW/7J7WQkOIf8j TzvnIEdKgNM0tZEZdxR3ebB69GlKpl3Ahm7cG/r945+GrmPu1HjbkLsdmsCWGv8PBlvID23bjjSSE B9iSuD3VzCLJaWxo+Gseg4upa/otZs4zIWwrOKzjkT4+KM3oZL69m2yetU7vWyhLXFE/oRZOu9LMl 1QR7eiB9RMe91PeSbgzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rHeYt-00AHA5-0m; Mon, 25 Dec 2023 06:35:39 +0000 Received: from out-175.mta0.migadu.com ([91.218.175.175]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rHeYq-00AH8R-1Z for linux-arm-kernel@lists.infradead.org; Mon, 25 Dec 2023 06:35:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703486132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3Mj5NvpEvY0iaWI1AN4f/AnoPa53HvYK2B531TwP00g=; b=XmL7t7s1mV7uCwwvgAvOsQNdk/tGvy2JL2lM6W19eCBhgHn71dxcaoEEYsrHNYenfGaMpQ Py9rLBYF5VznAlI0wgRIke5z88kJE8izkPcvSvHAZg64NlIgJ9nuzcCZVZDSGOh5qMb6sY eIEJ36Kut/a/uk8xqi0T4yvgH/wybTk= Mime-Version: 1.0 Subject: Re: [PATCH 05/13] mm: Introduce vma_pgtable_walk_{begin|end}() X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20231219075538.414708-6-peterx@redhat.com> Date: Mon, 25 Dec 2023 14:34:48 +0800 Cc: LKML , Linux-MM , Matthew Wilcox , Christophe Leroy , Lorenzo Stoakes , David Hildenbrand , Vlastimil Babka , Mike Kravetz , Mike Rapoport , Christoph Hellwig , John Hubbard , Andrew Jones , linux-arm-kernel@lists.infradead.org, Michael Ellerman , "Kirill A . Shutemov" , linuxppc-dev@lists.ozlabs.org, Rik van Riel , linux-riscv@lists.infradead.org, Yang Shi , James Houghton , "Aneesh Kumar K . V" , Andrew Morton , Jason Gunthorpe , Andrea Arcangeli , Axel Rasmussen Message-Id: <0D9E28F4-AFA8-479C-8311-093DAFD9DF41@linux.dev> References: <20231219075538.414708-1-peterx@redhat.com> <20231219075538.414708-6-peterx@redhat.com> To: Peter Xu X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231224_223536_672529_84C2E3C0 X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > On Dec 19, 2023, at 15:55, peterx@redhat.com wrote: > > From: Peter Xu > > Introduce per-vma begin()/end() helpers for pgtable walks. This is a > preparation work to merge hugetlb pgtable walkers with generic mm. > > The helpers need to be called before and after a pgtable walk, will start > to be needed if the pgtable walker code supports hugetlb pages. It's a > hook point for any type of VMA, but for now only hugetlb uses it to > stablize the pgtable pages from getting away (due to possible pmd > unsharing). > > Reviewed-by: Christoph Hellwig > Signed-off-by: Peter Xu Reviewed-by: Muchun Song Thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel