Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Thursday, May 29, 2008 - 10:03 pm

On Thu, 29 May 2008, Andrew Morton wrote:


The per cpu memory use by subsystems is typically quite small. We already 
have an 8k limitation for percpu space for modules. And that does not seem 
to be a problem.


Typically these are fairly small 8 bytes * 5000 is only 20k.


We could do that yes.
 

But then per cpu data is not frequently allocated and freed.

Going away from allocpercpu saves a lot of memory. We could make this 
128k or so to be safe?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access, Christoph Lameter, (Thu May 29, 8:56 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Thu May 29, 10:03 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Thu May 29, 10:27 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Thu May 29, 11:16 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Thu May 29, 11:22 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., KAMEZAWA Hiroyuki, (Thu May 29, 11:51 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Fri May 30, 10:50 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Fri May 30, 11:12 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu ..., Christoph Lameter, (Mon Jun 9, 11:44 am)