Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-22 Thread Suzuki
Jan Kara wrote: On Tue, 19 Dec 2006 18:22:03 -0800 Suzuki <[EMAIL PROTECTED]> wrote: Andrew Morton wrote: On Tue, 19 Dec 2006 17:58:12 -0800 Suzuki <[EMAIL PROTECTED]> wrote: * Fix the kmalloc flags used from within ext3, when we have an active journal handle If we do a kmalloc

Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-22 Thread Jan Kara
> On Tue, 19 Dec 2006 18:22:03 -0800 > Suzuki <[EMAIL PROTECTED]> wrote: > > > > > Andrew Morton wrote: > > > On Tue, 19 Dec 2006 17:58:12 -0800 > > > Suzuki <[EMAIL PROTECTED]> wrote: > > > > > > > > >>* Fix the kmalloc flags used from within ext3, when we have an active > > >>journal handle

Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-20 Thread Andrew Morton
On Tue, 19 Dec 2006 18:22:03 -0800 Suzuki <[EMAIL PROTECTED]> wrote: > > Andrew Morton wrote: > > On Tue, 19 Dec 2006 17:58:12 -0800 > > Suzuki <[EMAIL PROTECTED]> wrote: > > > > > >>* Fix the kmalloc flags used from within ext3, when we have an active > >>journal handle > >> > >>If we do

Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-20 Thread Jan Kara
Hi, > The attached patch converts the GFP mask for kmallocs within ext3 to > GFP_NOFS whenever they are called with an active journal handle. > > * Fix the kmalloc flags used from within ext3, when we have an active journal > handle > > If we do a kmalloc with GFP_KERNEL on system run

Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-19 Thread Suzuki
Andrew Morton wrote: On Tue, 19 Dec 2006 17:58:12 -0800 Suzuki <[EMAIL PROTECTED]> wrote: * Fix the kmalloc flags used from within ext3, when we have an active journal handle If we do a kmalloc with GFP_KERNEL on system running low on memory, with an active journal handle, we might

Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-19 Thread Andrew Morton
On Tue, 19 Dec 2006 17:58:12 -0800 Suzuki <[EMAIL PROTECTED]> wrote: > * Fix the kmalloc flags used from within ext3, when we have an active journal > handle > > If we do a kmalloc with GFP_KERNEL on system running low on memory, > with an active journal handle, we might end up in cleanin

[RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle

2006-12-19 Thread Suzuki
Hi, The attached patch converts the GFP mask for kmallocs within ext3 to GFP_NOFS whenever they are called with an active journal handle. More description in the patch. Comments ? Thanks, Suzuki Linux Technology Center IBM Systems & Technology Labs. * Fix the kmalloc flags used from within