Re: [PATCH] kmalloc_percpu
Paul Mackerras (paulus@samba.org)
Wed, 7 May 2003 14:03:46 +1000
William Lee Irwin III writes:
> On Wed, May 07, 2003 at 11:57:13AM +1000, Rusty Russell wrote:
> > Paul Mackerras points out that we could get the numa-aware allocation
> > plus "one big alloc" properties by playing with page mappings: reserve
> > 1MB of virtual address, and map more pages as required. I didn't
> > think that we'd need that yet, though.
>
> This is somewhat painful to do (though possible) on i386. The cost of
> task migration would increase at the very least.
Explain? We're not talking about having the same address mapped
differently on different CPUs, we're just talking about something
which is the equivalent of a sparsely-instantiated vmalloc.
Paul.
-
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/