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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12A77C07E9B for ; Wed, 21 Jul 2021 03:22:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D97FF61106 for ; Wed, 21 Jul 2021 03:22:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231405AbhGUCl1 (ORCPT ); Tue, 20 Jul 2021 22:41:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:53362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbhGUCl1 (ORCPT ); Tue, 20 Jul 2021 22:41:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2BD8F60725; Wed, 21 Jul 2021 03:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1626837723; bh=DEpAlubo4wmFRzygO3DVuFLxAl5/U8Do+4uKSqqfF+E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KpBbjwnDBWoF7SYGUtNo5SkT3BEEspxf2yDeKu+esB6+mmurj7DNpxGEaS593hy4D 5OLsH3M1a1MI4K3FJDfx25QMqIpEmCL8++T4G9nVQOxjmQc45IrtC1P1CKQlrG3Hlg hInjq0edbIf2d2/MywBVQC/86gAs+J2nl2n3Pnwk= Date: Tue, 20 Jul 2021 20:22:02 -0700 From: Andrew Morton To: Matthew Wilcox Cc: Stephen Rothwell , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Linus Torvalds Subject: Re: Folio tree for next Message-Id: <20210720202202.dfd4d9c3490e51e35cf1455e@linux-foundation.org> In-Reply-To: References: <20210718205758.65254408be0b2a17cfad7809@linux-foundation.org> <20210720094033.46b34168@canb.auug.org.au> <20210721122102.38c80140@canb.auug.org.au> <20210720192927.98ee7809717b9cc28fa95bb6@linux-foundation.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, 21 Jul 2021 03:46:52 +0100 Matthew Wilcox wrote: > > Sure, let's go that way. Linus wasn't terribly enthusiastic about the > > folio patches and I can't claim to be overwhelmed by their value/churn > > ratio (but many MM developers are OK with it all, and that > > counts). Doing it this way retains options... > > I'm happy to take these three patches through my tree if it makes life > easier (and it does resolve the majority of the pain): > > mm, memcg: add mem_cgroup_disabled checks in vmpressure and swap-related functions > mm, memcg: inline mem_cgroup_{charge/uncharge} to improve disabled memcg config > mm, memcg: inline swap-related functions to improve disabled memcg config They're rather unimportant, can be deferred. I'll probably move these to the post-linux-next queue, but let's just do it and see how it goes.