lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET x86/core/percpu] implement dynamic percpu allocator

* Tejun Heo <tj@kernel.org> wrote:

> Tejun Heo wrote:
> > One trick we can do is to reserve the initial chunk in non-vmalloc
> > area so that at least the static cpu ones and whatever gets
> > allocated in the first chunk is served by regular large page
> > mappings. Given that those are most frequent visited ones, this
> > could be a nice compromise - no noticeable penalty for usual cases
> > yet allowing scalability for unusual cases. If this is something
> > which can be agreed on, I'll pursue this.
>
> I've given more thought to this and it actually will solve
> most of issues for non-NUMA but it can't be done for NUMA.
> Any better ideas?

It could be allocated via NUMA-aware bootmem allocations.

Ingo


\
 
 \ /
  Last update: 2009-02-19 12:09    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog