Re: [patch 0/4] Cpu alloc V6: Replace percpu allocator in modules.c

Previous thread: [patch 2/4] percpu: Rename variables PERCPU_ENOUGH_ROOM -> PERCPU_AREA_SIZE by Christoph Lameter on Monday, September 29, 2008 - 12:35 pm. (1 message)

Next thread: [patch 3/4] cpu alloc: The allocator by Christoph Lameter on Monday, September 29, 2008 - 12:35 pm. (12 messages)
From: Christoph Lameter
Date: Monday, September 29, 2008 - 12:35 pm

Just do the bare mininum to establish a per cpu allocator. Later patchsets
will gradually build out the functionality.

The most critical issue that came up awhile back was how to configure
the size of the percpu area. Here we simply use a kernel parameter and use
the static size of the existing percpu allocator for modules as a default.

The effect of this patchset is to make the size of percpu data for modules
configurable. Its no longer fixed at 8000 bytes.

Changes:
V5->V6:
- Fix various issues in the per cpu alloc
- Make percpu reserve not depend on CONFIG_MODULES.

V4->V5:
- Fix various things pointed out by Pekka.
- Remove page alignment check from module.c and put it into cpu_alloc.c

V3->V4:
- Gut patches to the bare essentials: Only replace modules.c percpu alloocator
- Make percpu reserve area configurable via a kernel parameter


-- 
--

From: Rusty Russell
Date: Tuesday, September 30, 2008 - 3:27 pm

Hi Christoph,

   I'm not particularly attached to the allocator in module.c, and yours is 

Yerch.  OK, it *is* better than nothing.

Thanks for digging into this again,
Rusty.
--

From: Andrew Morton
Date: Tuesday, October 7, 2008 - 4:34 pm

On Mon, 29 Sep 2008 12:35:00 -0700

I need to drop these - the dynalloc thing (I don't think I even know
what it does) in Ingo's trees make changes all over the place and
nothing much applies any more.

--

From: Christoph Lameter
Date: Wednesday, October 8, 2008 - 8:10 am

Got a tree to rediff agains?


--

Previous thread: [patch 2/4] percpu: Rename variables PERCPU_ENOUGH_ROOM -> PERCPU_AREA_SIZE by Christoph Lameter on Monday, September 29, 2008 - 12:35 pm. (1 message)

Next thread: [patch 3/4] cpu alloc: The allocator by Christoph Lameter on Monday, September 29, 2008 - 12:35 pm. (12 messages)