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

From: KAMEZAWA Hiroyuki
Date: Fri May 30 2008 - 01:51:41 EST


On Thu, 29 May 2008 22:10:25 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> 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

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