Re: [i386] Use page allocator to allocate threadinfo structure

From: William Lee Irwin III
Date: Thu Apr 05 2007 - 04:31:08 EST


On Wed, Apr 04, 2007 at 05:40:31PM -0700, Christoph Lameter wrote:
> Replace the calls to kmalloc with calls into the page allocator.
> An alternate solution may be to create a custom slab cache where the
> alignment is set to PAGE_SIZE. That would allow slub debugging to be
> applied to the threadinfo structure.
> Signed-off-by: Christoph Lameter <clameter@xxxxxxx>

This was originally made a slab allocation as a preparatory cleanup
for things that were never merged, and are never likely to be. One
might as well revert it, though it does make stack space usage
slightly more difficult to account for.


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