[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070903134043.GB28962@infradead.org>
Date: Mon, 3 Sep 2007 14:40:43 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Christoph Lameter <clameter@....com>
Cc: Christoph Hellwig <hch@...radead.org>,
Mingming Cao <cmm@...ibm.com>, linux-fsdevel@...r.kernel.org,
adilger@...sterfs.com, sho@...s.nec.co.jp,
ext4 development <linux-ext4@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 1/2] JBD: slab management support for large block(>8k)
On Mon, Sep 03, 2007 at 12:55:04AM -0700, Christoph Lameter wrote:
> On Sun, 2 Sep 2007, Christoph Hellwig wrote:
>
> > > We are doing what you describe right now. So the current code is broken?
> > Yes.
>
> How about getting rid of the slabs there and use kmalloc? Kmalloc in mm
> (and therfore hopefully 2.6.24) will convert kmallocs > PAGE_SIZE to page
> allocator calls. Not sure what to do about the 1k and 2k requests though.
The problem is that we must never use kmalloc pages, so we always need
to request a page or more for these. Better to use get_free_page directly,
that's how I fixed it in XFS a while ago.
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists