[ARM] Fix thread struct allocator for SMP case
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 9 May 2006 21:14:28 +0000 (22:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 May 2006 21:14:28 +0000 (22:14 +0100)
The ARM thread struct allocator is racy on SMP systems.  Fix it by
turning it into a per-cpu based allocator.  This also allows keeps
the cache cache warm for thread structs and kernel stacks.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found