Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp410686pxf; Wed, 10 Mar 2021 08:39:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcgRWd/FIGHYN7Rjit1qi/QYUsiJStcMBJqilEb8Rzgt00NfKWh0Icet+K1LPGPQqYyjl6 X-Received: by 2002:a50:ec07:: with SMTP id g7mr4312172edr.72.1615394343744; Wed, 10 Mar 2021 08:39:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615394343; cv=none; d=google.com; s=arc-20160816; b=WLCjPLpN/jKvyWoq4kii8IIBNH9b4VdUWM5UoxPHWJzYWGqR8fyhxO8LdxjzBG7hG5 FSqcIU6goioYBtGdGZBkyKaYmYZu/wbxrax8mSMkCsR/2/Ndg2voELYRFXRUWjWys4iR KwC4YF7UBBvMXFqHLHr9ihZp2Ppcwji/KIvkh32hOAYwG9FPwmGLpiqzhYh+cijzq7tV VbGo/2vsz/5XAQMIzzTZ7+yCpF71eeJygCBePdJleDvswzsBC33CS2GDVElOJuCKZLpp NxdzNnkmbT4+ZWXlR38v75WD3G+9lFlalWaK0QB8TLIAF211gQQQPDAvD6vvK7k1nX4P yN5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6To67+2AoEAlY5NpZV+q8RuCrnMwIl1H3/wOekVd4fk=; b=nNIVPfEkSbZpZ3SExAVzBySu//z66yEh5zjh4UH53oJEuDH5106TdOD8qWsodkGndj VxaQYuL8iAe6a5VLpIXuF6LqGvkCkXMLkHV7jgdrGf1XYYPErWGg6v5Mq4D9TiJiXeDh biLZQcLR1iq6qqr3GAbcf31Gt+RqmEVIQnnUS9wJJ6pmbIi6+rEgxvvpuwc0XNjH8sMc MYgi2FDk5vlicDwaxObotUdBtb7crJaA3LqKIuJb0hfXBKCGRWoWnHISB6YL7eSUHNBv w40WGy89tLrN9TEQ1Eozo+GRS+aVkyzUQ5BzGAaevf8By1AY2ido+Bgj77L1VvK4m3Mh /y7A== 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 i18si12023274ejy.707.2021.03.10.08.38.40; Wed, 10 Mar 2021 08:39:03 -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 S232327AbhCJQho (ORCPT + 99 others); Wed, 10 Mar 2021 11:37:44 -0500 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:41612 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbhCJQhM (ORCPT ); Wed, 10 Mar 2021 11:37:12 -0500 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1lK1ia-004clg-19; Wed, 10 Mar 2021 16:29:52 +0000 Date: Wed, 10 Mar 2021 16:29:51 +0000 From: Al Viro To: Christoph Hellwig Cc: 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: 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: <20210309155348.974875-4-hch@lst.de> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...