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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: David Miller <davem@...>, <akpm@...>, <linux-mm@...>, <linux-kernel@...>, <schwidefsky@...>
Date: Tuesday, November 13, 2007 - 5:58 pm

Christoph Lameter a écrit :

Maybe not so crappy, because even for i386 code, you might use not a strict 
vmalloc() implementation but at least reserving percpu space inside the 
vmalloc range. (ie not use a dedicated area as your current patchset does)

This is because NR_CPUS is defaulted to 32 on i386 (with a limit of 256), so 
reserving 256*256KB = 64 MB of virtual space might be too much. (this is half 
the typical vmalloc area)

The idea would be :

- Reserving an area of NR_CPUS*256KB inside vmalloc() space (but of course not 
allocating pages)

- Then for each non possible cpu, 'release' its 256KB area and give it back to 
vmalloc free areas pool.

Once you add in mm/vmalloc.c all needed helpers, no need to use BSS Megablob 
anymore ?
-
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, 3:51 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 7:15 am)
Re: [patch 01/28] cpu alloc: The allocator, Andi Kleen, (Tue Nov 13, 9:06 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Wed Nov 14, 12:15 am)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Wed Nov 14, 12:18 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Wed Nov 14, 12:26 am)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Wed Nov 14, 1:53 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 2:49 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 6:03 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 10:19 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 10:50 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 10:55 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 10:58 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 11:10 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Thu Nov 15, 11:17 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 15, 11:19 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Wed Nov 14, 12:21 am)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:52 pm)
Re: [patch 01/28] cpu alloc: The allocator, Andi Kleen, (Tue Nov 13, 10:28 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 11:49 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 11:48 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 9:57 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 10:01 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 10:03 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:20 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:37 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 9:50 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 10:00 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 10:05 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:36 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 5:40 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:30 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 9:48 pm)
Re: [patch 01/28] cpu alloc: The allocator, Eric Dumazet, (Tue Nov 13, 5:58 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:02 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Tue Nov 13, 6:00 pm)
Re: [patch 01/28] cpu alloc: The allocator, David Miller, (Tue Nov 13, 9:33 pm)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 8:34 am)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 8, 2:33 pm)
Re: [patch 01/28] cpu alloc: The allocator, Christoph Lameter, (Thu Nov 8, 2:50 pm)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 4:19 pm)
Re: [patch 01/28] cpu alloc: The allocator, Peter Zijlstra, (Thu Nov 8, 8:37 am)