lkml.org 
[lkml]   [2006]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [PATCH 00/05] robust per_cpu allocation for modules

On Fri, 14 Apr 2006, Chen, Kenneth W wrote:

> Steven Rostedt wrote on Friday, April 14, 2006 2:19 PM
> > So the current solution has two flaws:
> > 1. not robust. If we someday add more modules that together take up
> > more than 14K, we need to manually update the PERCPU_ENOUGH_ROOM.
> > 2. waste of memory. We have 14K of memory wasted per CPU. Remember
> > a 64 processor machine would be wasting 896K of memory!
>
> If someone who has the money to own a 64-process machine, 896K of memory
> is pocket change ;-)
>

I was waiting for someone to make that comment :)

But someone who has the money to own a 64-processor machine, is probably
also a penny pincher, and wants to hold on to their pocket change ;-)

-- Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-15 00:21    [W:0.127 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site