Re: [patch 01/28] cpu alloc: The allocator

Christoph Lameter
2007-11-14T02:04:04Z

On Tue, 13 Nov 2007, David Miller wrote:

> From: Christoph Lameter <clameter@sgi.com>
> Date: Tue, 13 Nov 2007 17:57:15 -0800 (PST)
>
> > Hmmmm. cpu_alloc really does not need zeroed data. Just an address
> > fixed by the compiler where stuff can be put. Can the loader do that
> > somehow?
>
> Yes, and I think IA64 uses such a scheme for it's 64KB fixed
> per-cpu TLB mapping thing doesn't it?

The per cpu TLB mapping is virtually mapped. The real memory allocation
behind it occurs dynamically from bootmem.