On Tue, 18 Sep 2007 18:00:01 -0700 Mingming Cao <[email protected]> wrote: > 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 large blocksize patchset. > > > Also this patch cleans up jbd_kmalloc and replace it with kmalloc directly __GFP_NOFAIL should only be used when we have no way of recovering from failure. The allocation in journal_init_common() (at least) _can_ recover and hence really shouldn't be using __GFP_NOFAIL. (Actually, nothing in the kernel should be using __GFP_NOFAIL. It is there as a marker which says "we really shouldn't be doing this but we don't know how to fix it"). So sometime it'd be good if you could review all the __GFP_NOFAILs in there and see if we can remove some, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [PATCH] JBD slab cleanups
- References:
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- From: Christoph Hellwig <[email protected]>
- [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Dave Kleikamp <[email protected]>
- Re: [PATCH] JBD slab cleanups
- From: Mingming Cao <[email protected]>
- Re: [RFC 1/2] JBD: slab management support for large block(>8k)
- Prev by Date: [PATCH] fix memory hot remove not configured case.
- Next by Date: Re: iso9660 vs udf
- Previous by thread: Re: [PATCH] JBD slab cleanups
- Next by thread: Re: [PATCH] JBD slab cleanups
- Index(es):