[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHSET] percpu: generalize first chunk allocators and improve lpage NUMA support
Hello, Christoph.

Christoph Lameter wrote:
> I looked at allocating for online cpus only a couple of years back but at
> that per cpu state was kept for offlined cpus in per cpu areas. There are
> numerous assumptions in per cpu handling all over the kernel that a percpu
> area is always available.

The plan is to allocate and keep percpu areas for cpus which have ever
been up. There'll be no taking down of percpu areas. Conversion from
possible to has_ever_been_up should be much easier than possible ->
online. State keeping will work fine too.

> We successfully restricted it to only possible
> cpus. ACPI may be the worst offender there. If you can get all of that
> addressed then we can move to pure on demand allocation. Which also would
> complicate a per cpu memory allocator allocator.

I don't think it will be too complex. The necessary bits are already
there and they are necessary for other stuff too, so...



 \ /
  Last update: 2009-07-01 01:25    [W:0.126 / U:10.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site