]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commit1929ab8c6860a4a94109eed038b0fa9d12c81721
tree42d3319df9d94cda4a514762f393c277cbdea5d3
parentf9d8f063fee645a23776519fb5c910b9d9435270
[ARM] Fix thread struct allocator for SMP case

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>
arch/arm/kernel/process.c