From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 03/12] fs: introduce f_op->mmap_capabilities for nommu mmap support Date: Sun, 11 Jan 2015 12:24:26 -0500 Message-ID: <20150111172426.GJ25319@htj.dyndns.org> References: <1420739133-27514-1-git-send-email-hch@lst.de> <1420739133-27514-4-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jens Axboe , David Howells , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org To: Christoph Hellwig Return-path: Content-Disposition: inline In-Reply-To: <1420739133-27514-4-git-send-email-hch@lst.de> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jan 08, 2015 at 06:45:24PM +0100, Christoph Hellwig wrote: > Since "BDI: Provide backing device capability information [try #3]" the > backing_dev_info structure also provides flags for the kind of mmap > operation available in a nommu environment, which is entirely unrelated > to it's original purpose. > > Introduce a new nommu-only file operation to provide this information to > the nommu mmap code instead. Splitting this from the backing_dev_info > structure allows to remove lots of backing_dev_info instance that aren't > otherwise needed, and entirely gets rid of the concept of providing a > backing_dev_info for a character device. It also removes the need for > the mtd_inodefs filesystem. > > Signed-off-by: Christoph Hellwig FWIW, Reviewed-by: Tejun Heo Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org