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.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 8506DC43381 for ; Thu, 11 Mar 2021 08:42:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F1DA364FA3 for ; Thu, 11 Mar 2021 08:42:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1DA364FA3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 76A9A8D0290; Thu, 11 Mar 2021 03:42:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 71ADE8D028E; Thu, 11 Mar 2021 03:42:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5BD7D8D0290; Thu, 11 Mar 2021 03:42:21 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0080.hostedemail.com [216.40.44.80]) by kanga.kvack.org (Postfix) with ESMTP id 399AC8D028E for ; Thu, 11 Mar 2021 03:42:21 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 00239824999B for ; Thu, 11 Mar 2021 08:42:20 +0000 (UTC) X-FDA: 77906951682.25.0F555FE Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by imf26.hostedemail.com (Postfix) with ESMTP id DC2F6407F8F1 for ; Thu, 11 Mar 2021 08:42:17 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id E7A7968B05; Thu, 11 Mar 2021 09:42:17 +0100 (CET) Date: Thu, 11 Mar 2021 09:42:17 +0100 From: Christoph Hellwig To: Al Viro Cc: Christoph Hellwig , Andrew Morton , Daniel Vetter , Nadav Amit , "VMware, Inc." , "Michael S. Tsirkin" , David Hildenbrand , Minchan Kim , Nitin Gupta , Jason Gunthorpe , Alex Williamson , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/9] powerpc/pseries: remove the ppc-cmm file system Message-ID: <20210311084217.GB7263@lst.de> References: <20210309155348.974875-1-hch@lst.de> <20210309155348.974875-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Stat-Signature: u3wsfdksq4h94ut38q8qod6655nyr3zt X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: DC2F6407F8F1 Received-SPF: none (lst.de>: No applicable sender policy available) receiver=imf26; identity=mailfrom; envelope-from=""; helo=verein.lst.de; client-ip=213.95.11.211 X-HE-DKIM-Result: none/none X-HE-Tag: 1615452137-804057 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: On Wed, Mar 10, 2021 at 04:29:51PM +0000, Al Viro wrote: > On Tue, Mar 09, 2021 at 04:53:42PM +0100, Christoph Hellwig wrote: > > Just use the generic anon_inode file system. > > Umm... The only problem I see here is the lifetime rules for > that module, and that's not something introduced in this patchset. > Said that, looks like the logics around that place is duplicated in > cmm.c, vmw_balloon.c and virtion_balloon.c and I wonder if it would > be better off with a helper in mm/balloon.c to be used for that setup... Independ of all other discussions untangling that mess does seem very useful.