lkml.org 
[lkml]   [2009]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET x86/core/percpu] improve the first percpu chunk allocation
Hi,

Ingo Molnar wrote:
--snip--
> So what i'm saying is that these are strong reasons for us to
> want to make the unit size to be something like 2MB - on 64-bit
> x86 at least.
>
> ( Using a 2MB unit size will also have another advantage: _iff_
> we can still allocate a hugepage at that point we can map it
> straight there when extending the dynamic area. )

Thanks for the explanation. Yeap, it would be nice to have units
aligned on 2MB boundary. We'll need to add @align to vm area alloc
function to do it correctly. As for using large page, it would be
nice if we can do that automatically. Upfront 2MB unit allocation is
probably too expensive but merging 4k pages into a large page (if we
can get them) will add a lot of irregular latency too. Hmmm...

--
tejun


\
 
 \ /
  Last update: 2009-02-24 15:51    [W:0.095 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site