Re: [patch 02/41] cpu alloc: The allocator

KAMEZAWA Hiroyuki
2008-05-30T05:51:40Z

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