Re: [PATCH] kmalloc_percpu

Martin J. Bligh (mbligh@aracnet.com)
Tue, 06 May 2003 07:41:50 -0700


--On Tuesday, May 06, 2003 18:28:24 +1000 Rusty Russell <rusty@rustcorp.com.au> wrote:

> + pool_size = max(((long long)num_physpages << PAGE_SHIFT) / 16384,
> + (long long)pool_size);

I like the idea of scaling it with the machine, but can you scale this off
lowmem instead? Something like max_low_pfn or similar.

Thanks,

M.

-
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/