lkml.org 
[lkml]   [2008]   [Nov]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 17 Nov 2008 14:25:39 +0900
FromKAMEZAWA Hiroyuki <>
SubjectRe: [PATCH 1/7] mm: introduce simple_malloc()/simple_free()
On Mon, 17 Nov 2008 10:23:24 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> Lai Jiangshan wrote:> > Arjan van de Ven wrote:> >> On Mon, 17 Nov 2008 07:39:55 +1000> >>> >> I would go further than this.> >>> >> Make the code just use vmalloc(). Period.> >>> >> But then make vmalloc() smart and try do a direct mapping allocation
> >> first, before falling back to a virtual mapping. (and based on size it
> >> wouldn't even try it for just big things)> >>> >>> >>> > > > Hi, Arjan van de Ven> > > > (I'll rename simple_malloc/simple_free to kvmalloc/kvfree)
> > > > I would prefer to find a way to say that one cannot select gfp_mask with this API.
> 
I think gfp_mask must be passed explicitly.

Thanks,
-Kame



\
 
 \ /
  Last update: 2008-11-17 06:29    [from the cache]
©2003-2008