Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 14 Jul 2001 13:47:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 14 Jul 2001 13:47:41 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:52325 "EHLO flinx.biederman.org") by vger.kernel.org with ESMTP id ; Sat, 14 Jul 2001 13:47:31 -0400 To: Chris Wedgwood Cc: Jeff Garzik , Linux Kernel Mailing List , viro@math.psu.edu, linux-mm@kvack.org Subject: Re: RFC: Remove swap file support In-Reply-To: <3B472C06.78A9530C@mandrakesoft.com> <20010715032528.E6722@weta.f00f.org> From: ebiederm@xmission.com (Eric W. Biederman) Date: 14 Jul 2001 11:35:52 -0600 In-Reply-To: <20010715032528.E6722@weta.f00f.org> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Chris Wedgwood writes: > On Sat, Jul 14, 2001 at 12:07:38AM -0600, Eric W. Biederman wrote: > > Yes, and no. I'd say what we need to do is update rw_swap_page to > use the address space functions directly. With block devices and > files going through the page cache in 2.5 that should remove any > special cases cleanly. > > Will block devices go through the page cache in 2.5.x? > > I had hoped they would, that any block devices would just be > page-cache views of underlying character devices, thus allowing us to > remove the buffer-cache and the /dev/raw stuff. Block devices will go through the page cache in 2.5. It will take a while for the buffer cache to go away completely, but it is there for the code paths that haven't been updated. Buffer heads will stay. The /dev/raw stuff is for those users that don't want to the kernel to cache their data and will continue to exist in some form. I can't see how any device that doesn't support read or writing just a byte can be a character device. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/