Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3780839pxf; Mon, 15 Mar 2021 19:31:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBcqcE2oX+QEAltbMwwfcYu8ejni1+1QAICv3kvN4+tzz7MSexE9up0PcBVem/7BUCR2Ch X-Received: by 2002:a17:906:170f:: with SMTP id c15mr26676295eje.358.1615861872585; Mon, 15 Mar 2021 19:31:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615861872; cv=none; d=google.com; s=arc-20160816; b=XxesPk8DZhJ+f8x3TpqOCr/9uqFGIRhR5zbcwfJzIbpMKvohy/NwKXn/fk1tMQaV/E vfaGnQUmp9O9389zQdXjnm5ELzm23K6BskYPg3ZJe/nSMthWMsGY/2yURdAAjt0cIs9P e/y7vu9ZeDt/dUPsZGpFuTMwFvrf+kB6wwopGUBFRLRPJWCBMrDfz99d0ACNCx/PZZaL n87Z0I5WKOY2HJOslgCr9fnSlDAg2Vc3VsX26IoEWpdTYmON/18dyufMgNXy5QVpio5P egpeozPwmyOGcbvLbbY6hqKuD1Kc00HP52+xDB7JAOw4toHiWyz5CNPx6SG/ULNB0F1m q8nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mkpF9omMUUFgPhO7wM2oolIv2L3IwnCTiRJGLYj/QNo=; b=gOlZ8xAURSQknzEEtzopOmim0SoeHW/kH/7NNOAGZ4Wmzb91NnJq5LYZ9Yg8TyMZ3m rqi+4I0gA3WVBtqvNBLGM26OWCFSduG3MDM8KowNeXNORGz08g/iDP0roZmY4ZAXgPKc UzyzTo5d9rYmpvT3go53a+B5G1xJkkYc3io898+ypHOXIbIioubgwCAly9N85PCuF5fP JWRxNFCfUJ8LcudcOViVPGu9QdZeYMvhMOHO1pSlUQADZggiHF0du2ARJLGPMKAFYJb3 14hq5GbxB2sR3jDHRFPnx2J+O7MiHGF9pAEmciShF8EXBz2DL2bqUoi6Lz6HJ6qQd7WX w3Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=m+fRbbsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si12030733edz.154.2021.03.15.19.29.50; Mon, 15 Mar 2021 19:31:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=m+fRbbsf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231598AbhCOTKV (ORCPT + 99 others); Mon, 15 Mar 2021 15:10:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232994AbhCOTKN (ORCPT ); Mon, 15 Mar 2021 15:10:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC23C06174A; Mon, 15 Mar 2021 12:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mkpF9omMUUFgPhO7wM2oolIv2L3IwnCTiRJGLYj/QNo=; b=m+fRbbsfcHaiqSu+dUQambcli/ ayhSDuAmTMfgav8aX4P6JUjk2UJMjfrhSSVInwiDYtTmQxyp2LuXKNZkV09fswCHEPBjWuSH3bA2m kw7a7sJDLRbm+EJ7comRFCaOHYRkn3XUtgaY3jrPctWZMWbE6z59Ix5nvs/L/ynPTX2t4sHtWqZBn hEYBcI24VItDXo8c6KddZqLKi1r1xMhVm0hS6T0LGrd+xXaVwZs/YJooBaLz9fsWlCJJHQCdDGjNU suEBhlzf3181euFSUmfd2uuXPNZDjtfp5u99R441myZp9pbxLsVwgWZXhpZFuh7klOeWsPWIRHnZF J5kENouA==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lLsaO-000dXn-R4; Mon, 15 Mar 2021 19:09:09 +0000 Date: Mon, 15 Mar 2021 19:09:04 +0000 From: Christoph Hellwig To: Michal Hocko Cc: "Kirill A. Shutemov" , Hugh Dickins , Andrew Morton , "Matthew Wilcox (Oracle)" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v4 00/25] Page folios Message-ID: <20210315190904.GB150808@infradead.org> References: <20210305041901.2396498-1-willy@infradead.org> <20210313123658.ad2dcf79a113a8619c19c33b@linux-foundation.org> <20210315115501.7rmzaan2hxsqowgq@box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 01:38:04PM +0100, Michal Hocko wrote: > I tend to agree here as well. The level compoud_head has spread out > silently is just too large. There are people coming up with all sorts of > optimizations to workaround that, and they are quite right that this is > somehing worth doing, but last attempts I have seen were very focused on > specific page flags handling which is imho worse wrt maintainability > than a higher level and type safe abstraction. I find it quite nice that > this doesn't really have to be a flag day conversion but it can be done > incrementally. > > I didn't get review the series yet and I cannot really promise anything > but from what I understand the conversion should be pretty > straightforward, albeit noisy. > > One thing that was really strange to me when seeing the concept for the > first time was the choice of naming (no I do not want to start any > bikeshedding) because it hasn't really resonated with the udnerlying > concept. Maybe just me as a non native speaker... page_head would have > been so much more straightforward but not something I really care about. That pretty much summarizes my opinion as well. I'll need to find some time to review the series as well.