On Wed, 2007-09-19 at 12:15 -0700, Mingming Cao wrote: > Here is the patch to clean up __GFP_NOFAIL flag in jbd/jbd2. In all > cases except one handles memory allocation failure so I get rid of those > GFP_NOFAIL flags. > > Also, shouldn't we use GFP_KERNEL instead of GFP_NOFS flag for kmalloc > in jbd/jbd2? I will send a separate patch to cleanup that. No. GFP_NOFS avoids deadlock. It prevents the allocation from making recursive calls back into the file system that could end up blocking on jbd code. Shaggy -- David Kleikamp IBM Linux Technology Center - 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: Dave Kleikamp <[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: [PATCH] JBD slab cleanups
- From: Andrew Morton <[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: Re: PROBLEM: System Freeze on Particular workload with kernel 2.6.22.6
- Next by Date: Re: [Announce] Linux-tiny project revival
- Previous by thread: Re: [PATCH] JBD: use GFP_NOFS in kmalloc
- Next by thread: Re: [PATCH] JBD slab cleanups
- Index(es):