lkml.org 
[lkml]   [2008]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 02/41] cpu alloc: The allocator
On Thu, 29 May 2008 22:10:25 -0700 (PDT)
Christoph Lameter <clameter@sgi.com> wrote:

> On Thu, 29 May 2008, Andrew Morton wrote:
>
> > > +config CPU_ALLOC_SIZE
> > > + int "Size of cpu alloc area"
> > > + default "30000"
> >
> > strange choice of a default? I guess it makes it clear that there's no
> > particular advantage in making it a power-of-two or anything like that.
>
> The cpu alloc has a cpu_bytes field in vmstat that shows how much memory
> is being used. 30000 seemed to be reasonable after staring at these
> numbers for awhile.
>

30000 is suitable for both of 32bits/64bits arch ?

Thanks,
-kame



\
 
 \ /
  Last update: 2008-05-30 07:53    [W:0.107 / U:3.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site