Messages in this thread | | | Date | Fri, 30 May 2008 14:56:12 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [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
| |