Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp176776pxf; Thu, 11 Mar 2021 00:46:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx07HwWAVv4jhYTJX96ccCjV48GNx5lSiDC7CXcullZwqSJGJGQur4mUWefmFgRrlUvgV4P X-Received: by 2002:a17:906:30d9:: with SMTP id b25mr2023535ejb.348.1615452379569; Thu, 11 Mar 2021 00:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615452379; cv=none; d=google.com; s=arc-20160816; b=QKR9z3YJQd1aDB+lTIsN0XnzVJBH1r8eOY1jdNHn2VnkdQ+uMLT2TZliwHfd6G7Dbj c4NIMibJU4/x+le3ZMbHKoV5OJ2uUZaS6leGVHGBQbOfCiqjhJAOeZkzPEBDQGiJUTwN lLIUqOzuA/1jdTax//lTE1CnBT0NepQbbwQoF9WKreV6+e+n9jjD/1LazJ+1O8IFdRaD 2geAxi1jI56sCa4+ZtrYVkMjUBSZN4a88pCZb/dQ1PQbH/Y5QDgy2E7HVXaNKfmyyqbm 4Lb+j//KRt0qQmFfwFDhzl4vQhr253CTtQ1iYXh8IkqaQrhjcNWj9mmT21Q8SS5T/38l 4JEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=m550j/PVT+Ays/Yrn9bZE/q4RtWc6OwnoG3uh2iNEYk=; b=XjfwEV8mCVUoD0CJ6dbRIxdGF0DBoL6zuQUha4nW7l0nntQ9kl3w6UIeFHTbiU5VHk Y8lZkEfVneF77qOYMWXNzAPOY0mc8Jr5BER1D0p83Wn/J2kN89tkQaRqUtRlCQul6MIu 3b9SyKBhV2SJ+4vaWB9AOJ9arpx44qcRl6xp2Wg3n0ynWqRYzlOUAMX7TlMrKtvxj7Jr EsnMuQPDzV+vxSpA9RllihY+9f79qH3QNvvWD4SwTRzBJVNJravD2WuGE6pIZguWPkXU PUYVwlyfZhQ1IQkAPXxfaBBjmtrFgZdpobbPT4z/buRCDZPnYtVxGUMJ3ihxOilfPjzX ltwA== ARC-Authentication-Results: i=1; mx.google.com; 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 c12si1308710edx.585.2021.03.11.00.45.56; Thu, 11 Mar 2021 00:46:19 -0800 (PST) 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; 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 S231590AbhCKImy (ORCPT + 99 others); Thu, 11 Mar 2021 03:42:54 -0500 Received: from verein.lst.de ([213.95.11.211]:39923 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231147AbhCKImV (ORCPT ); Thu, 11 Mar 2021 03:42:21 -0500 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.