Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933208AbXKOVNa (ORCPT ); Thu, 15 Nov 2007 16:13:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757965AbXKOVNW (ORCPT ); Thu, 15 Nov 2007 16:13:22 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:53941 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757794AbXKOVNV (ORCPT ); Thu, 15 Nov 2007 16:13:21 -0500 Subject: Re: mmap dirty limits on 32 bit kernels (Was: [BUG] New Kernel Bugs) From: Peter Zijlstra To: Linus Torvalds Cc: Bron Gondwana , Christian Kujau , Andrew Morton , Linux Kernel Mailing List , robm@fastmail.fm In-Reply-To: <1195160397.22457.37.camel@lappy> References: <20071113.043207.44732743.davem@davemloft.net> <20071113110259.44c56d42.akpm@linux-foundation.org> <20071113130411.26ccae12.akpm@linux-foundation.org> <20071115040708.GB15302@brong.net> <20071115052538.GA21522@brong.net> <20071115115049.GA8297@brong.net> <1195155601.22457.25.camel@lappy> <1195159457.22457.35.camel@lappy> <1195160397.22457.37.camel@lappy> Content-Type: text/plain Date: Thu, 15 Nov 2007 22:12:23 +0100 Message-Id: <1195161143.22457.44.camel@lappy> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 29 On Thu, 2007-11-15 at 21:59 +0100, Peter Zijlstra wrote: > On Thu, 2007-11-15 at 12:56 -0800, Linus Torvalds wrote: > > > > On Thu, 15 Nov 2007, Peter Zijlstra wrote: > > > > > > Something like this ought to do I guess. Although my > > > mapping_is_buffercache() is the ugliest thing. I'm sure that can be done > > > better. > > > > No, this absolutely sucks. > > Agreed, I was just about to send out an email saying that. Say all buffer cache users were against default_backing_dev_info, and we'd give default_backing_dev_info less, that should work out, right? ( I'm not yet clear on if buffer cache already uses default_backing_dev_info or not, bdget() seems to suggest it does ) - 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/