Re: [patch 01/28] cpu alloc: The allocator

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Tuesday, November 13, 2007 - 9:15 pm

Hmmm.. I have v2 in preparation here that puts the pda and the per cpu 
data into the cpu_alloc area. Thus gs: can be used to access all per cpu 
data.

Any ideas how to abstract out the pda operations? Wasnt local_t supposed 
to be able to do atomic ops on cpu data? Is there an segment register 
version of local_t? I want also to have cmpxchg xchg etc that are all 
atomic without requiring any interrupt disable or preempt disable.

cpu_alloc allows pointer arithmetic on cpu area pointers. The segment 
prefix can then be used to select the appropriate area.

Guess I need also to add an arch configuration guide to V2 as well so that 
the other arches can do similar tricks and emphasize that the static 
default that requires bss is only suitable for small systems.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 6, 12:51 pm)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 5:34 am)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 5:37 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 8, 11:33 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 8, 11:50 am)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 1:19 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 4:15 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 2:40 pm)
Re: [patch 01/28] cpu alloc: The allocator, Eric Dumazet, (Tue Nov 13, 2:58 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 3:00 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 3:02 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 3:20 pm)
Re: [patch 01/28] cpu alloc: The allocator, Andi Kleen, (Tue Nov 13, 6:06 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 6:30 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 6:33 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 6:36 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 6:37 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:48 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:50 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 6:52 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:57 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 7:00 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 7:01 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 7:03 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 7:05 pm)
Re: [patch 01/28] cpu alloc: The allocator, Andi Kleen, (Tue Nov 13, 7:28 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 8:48 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 8:49 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 9:15 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:18 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:21 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 9:26 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 10:53 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 11:49 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 7:19 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 7:50 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 7:55 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 8:10 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 8:17 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 8:19 pm)