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 408B2C4725D for ; Mon, 22 Jan 2024 08:26:03 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yBGQVdim+B98Xbdbk1AKWLkofqRsDznTcjFYLNSBRb4=; b=gtg4/4nwgKukGs d7HBUOexafZT7cRDc3JOKzuCxkfmZjpi/0Ybbo5BozNxKr89hrPLvc34I1lxAWm9JgEIogdagOorH OG44nf2aGcVoUTuHdChd0JGNnnRNTnhnO0RiJNqzHRDRX8LHX9hRYCAUauTiiJHyWJDuoROk1m0vI r30EGASHe+bBqRiyI2pno/Yo91ZrzSkr/1cBU04c1a77/wf8c1SXLjASTgsiqXgNtJnyAKUaiHoii A7KxzYhIU6p4/UcbUWseEgTBgVk6uT7x3hBhw3gj7tyF8f4m7tVRVUn1RoKmUp4doTKaLUOwYGwYv ua1K0EVPrtMfbSc8Abtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRpcd-00B2Zt-1E; Mon, 22 Jan 2024 08:25:35 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRpcZ-00B2Vv-1p for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 08:25:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705911928; 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: in-reply-to:in-reply-to:references:references; bh=bDmft0G/LbU/vGcrH0ViFbqfb55/2jbpdSGlzfSsB1Q=; b=Tq0Kr1MWX0KSxsm9olcGK5lIQDryQLr36bHs7p4buw8wePJUKh6BrP222hP+Pp0JKkefsJ F1e+Pb1nhWcqUGXV+pmk+Xu1hEzJlKXrfeB/uIdJ8mgTn9nbV6D+q3zlQjkIVyRE8Ips3S vz07mo4uUttYPWFUgtVxf9+qcHSELfU= Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-9A582VgGNOmuzmvwQtVTuw-1; Mon, 22 Jan 2024 03:25:26 -0500 X-MC-Unique: 9A582VgGNOmuzmvwQtVTuw-1 Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-6e0eeb361c7so257720a34.1 for ; Mon, 22 Jan 2024 00:25:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705911925; x=1706516725; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bDmft0G/LbU/vGcrH0ViFbqfb55/2jbpdSGlzfSsB1Q=; b=mjo5tYks9ccz7Bwv+YrYyZT6/H3zfhk/g14hZC0z6vdv4yGXYNpw5lr8ZjkhBz0MYh 2JlvzBZRUne6smL0l9wwqEtuSyV/J+ddRVsSyZBuveCZsZ4uXl2RreI3ZdYnJlCJc+kD yLhOu8+ygyaleZpT1QddeMf6MHd6lp+p+hvLZCSuaaoSWm11xOqJUG4wEfLgRLRYm68T zq+xxtZEV41DLuBHcBabx15JHV21ZRyU9zwya5a9AGk9SiiZADuY1gQi7cmjXO9flxRG 2GXoRRsZY0Tgr8GMIMt+H5skjw617q3IiPdRisa0Sbij1GoVjRn10F4DRva4VKqQPN+w m3hg== X-Gm-Message-State: AOJu0Yw143lQMhuXoEIlpQXYZ7k+ZJgKVIsg1EDRob8umQ1zf/SG7Jxu Oqe4HRa7ATniOmD1rE+rbZCLuNk55ASKWnDj6TPs1xtfZhAlW28WdMci84E1VpbE0iNqLIwcqli IZ2AaKkQgjAIdmAsgF76j31m3TaC+TBt7LFno6XQl8THsXCqZ5r0J2ypTqeAU4Q89cFbjRRUY X-Received: by 2002:a05:6358:591d:b0:176:5ca9:7213 with SMTP id g29-20020a056358591d00b001765ca97213mr953017rwf.0.1705911925341; Mon, 22 Jan 2024 00:25:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSePoGNoX92PzQmVfT4AXX54k/+l1fGFhIaFtWONOwMEeDpGYerPythOMH74Vw9shCsROV9A== X-Received: by 2002:a05:6358:591d:b0:176:5ca9:7213 with SMTP id g29-20020a056358591d00b001765ca97213mr952991rwf.0.1705911925009; Mon, 22 Jan 2024 00:25:25 -0800 (PST) Received: from x1n ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id h8-20020a654808000000b005ca0ae17983sm6839110pgs.8.2024.01.22.00.25.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 00:25:24 -0800 (PST) Date: Mon, 22 Jan 2024 16:25:12 +0800 From: Peter Xu To: Jason Gunthorpe Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, James Houghton , David Hildenbrand , "Kirill A . Shutemov" , Yang Shi , linux-riscv@lists.infradead.org, Andrew Morton , "Aneesh Kumar K . V" , Rik van Riel , Andrea Arcangeli , Axel Rasmussen , Mike Rapoport , John Hubbard , Vlastimil Babka , Michael Ellerman , Christophe Leroy , Andrew Jones , linuxppc-dev@lists.ozlabs.org, Mike Kravetz , Muchun Song , linux-arm-kernel@lists.infradead.org, Christoph Hellwig , Lorenzo Stoakes , Matthew Wilcox Subject: Re: [PATCH v2 01/13] mm/Kconfig: CONFIG_PGTABLE_HAS_HUGE_LEAVES Message-ID: References: <20240103091423.400294-1-peterx@redhat.com> <20240103091423.400294-2-peterx@redhat.com> <20240115173737.GO734935@nvidia.com> MIME-Version: 1.0 In-Reply-To: <20240115173737.GO734935@nvidia.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_002531_683363_46606746 X-CRM114-Status: GOOD ( 20.20 ) 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 Mon, Jan 15, 2024 at 01:37:37PM -0400, Jason Gunthorpe wrote: > On Wed, Jan 03, 2024 at 05:14:11PM +0800, peterx@redhat.com wrote: > > From: Peter Xu > > > > Introduce a config option that will be selected as long as huge leaves are > > involved in pgtable (thp or hugetlbfs). It would be useful to mark any > > code with this new config that can process either hugetlb or thp pages in > > any level that is higher than pte level. > > > > Signed-off-by: Peter Xu > > --- > > mm/Kconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > So you mean anything that supports page table entires > PAGE_SIZE ? Yes. > > Makes sense to me, though maybe add a comment in the kconfig? Sure I'll add some. > > Reviewed-by: Jason Gunthorpe Thanks for your reviews and also positive comments in previous versions, Jason. I appreciate that. I'm just pretty occupied with other tasks recently so I don't yet have time to revisit this series, along with other comments yet. I'll do so and reply to the comments / discussions together afterwards. -- Peter Xu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel