From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031387AbXDZSDG (ORCPT ); Thu, 26 Apr 2007 14:03:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031388AbXDZSDG (ORCPT ); Thu, 26 Apr 2007 14:03:06 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:52106 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031387AbXDZSDF (ORCPT ); Thu, 26 Apr 2007 14:03:05 -0400 Date: Thu, 26 Apr 2007 11:03:01 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: "Eric W. Biederman" cc: Christoph Hellwig , Nick Piggin , David Chinner , linux-kernel@vger.kernel.org, Mel Gorman , William Lee Irwin III , Jens Axboe , Badari Pulavarty , Maxim Levitsky Subject: Re: [00/17] Large Blocksize Support V3 In-Reply-To: Message-ID: References: <20070424222105.883597089@sgi.com> <46303A98.9000605@yahoo.com.au> <20070426063830.GE32602149@melbourne.sgi.com> <46304B9E.5070604@yahoo.com.au> <20070426161152.GC16337@infradead.org> 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 On Thu, 26 Apr 2007, Eric W. Biederman wrote: > My most practical suggestion is to have support code so that you can > do all of the locking (that I/O cares about) on the first page of a > page group in the page cache. You don't need larger physical pages to > do that. Virtual mappings for larger pages? Or some software simulated form? This all sounds like awful hacks. > Iff we really the larger physical page size to support the hardware > then it makes sense to go down a path of larger pages. But it doesn't. You are redefining the problem. We need larger physical sizes to support the hardware. Yes. We can dodge the issue with shim layers and hacks. It is obvious from the kernel sources that this is needed. > There is also a more fundamental reasons this patch is silly. It assumes > that there is a trivial mapping between filesystems (the primary target > of the page cache and blocks on disk). Now I admit this is common but > there is no reason to supposed it is true, and this patch appears to > exacerbate things. The patch does the obvious... Nothing is silly about memory being contigous in memory and on disk.