[Devel] Re: [PATCH 1/9] mm: add generic adaptive large memory allocationAPIs

2010-05-16 Thread KOSAKI Motohiro
> Peter Zijlstra wrote: > > NAK, I really utterly dislike that inatomic argument. The alloc side > > doesn't function in atomic context either. Please keep the thing > > symmetric in that regards. > > Excuse me. kmalloc(GFP_KERNEL) may sleep (and therefore cannot be used in > atomic context). Howe

[Devel] Re: [PATCH 1/9] mm: add generic adaptive large memory allocationAPIs

2010-05-13 Thread Tetsuo Handa
Peter Zijlstra wrote: > NAK, I really utterly dislike that inatomic argument. The alloc side > doesn't function in atomic context either. Please keep the thing > symmetric in that regards. Excuse me. kmalloc(GFP_KERNEL) may sleep (and therefore cannot be used in atomic context). However, kfree() f