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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Tuesday, November 13, 2007 - 2: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, 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)