Re: [PATCH] jbd/jbd2: JBD memory allocation cleanups

2007-10-05 Thread Mingming Cao
On Thu, 2007-10-04 at 07:52 +0100, Christoph Hellwig wrote: > On Thu, Oct 04, 2007 at 01:50:36AM -0400, Theodore Ts'o wrote: > > From: Mingming Cao <[EMAIL PROTECTED]> > > > > JBD: Replace slab allocations with page cache allocations > > It's page allocations, not page cache allocations. > > > A

Re: [PATCH] jbd/jbd2: JBD memory allocation cleanups

2007-10-03 Thread Christoph Hellwig
On Thu, Oct 04, 2007 at 01:50:36AM -0400, Theodore Ts'o wrote: > From: Mingming Cao <[EMAIL PROTECTED]> > > JBD: Replace slab allocations with page cache allocations It's page allocations, not page cache allocations. > Also this patch cleans up jbd_kmalloc and replace it with kmalloc directly T

[PATCH] jbd/jbd2: JBD memory allocation cleanups

2007-10-03 Thread Theodore Ts'o
From: Mingming Cao <[EMAIL PROTECTED]> JBD: Replace slab allocations with page cache allocations JBD allocate memory for committed_data and frozen_data from slab. However JBD should not pass slab pages down to the block layer. Use page allocator pages instead. This will also prepare JBD for the