]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] Use alloc_percpu to allocate workqueues locally
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 30 Oct 2005 23:01:59 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:18 +0000 (17:37 -0800)
commit89ada67917f516212452443a56b9fd3b65b74dc7
tree00986fd653bf1973a70ae894f503b3b2352943b5
parentd61780c0d384939ef31c46b47442854d5def4623
[PATCH] Use alloc_percpu to allocate workqueues locally

This patch makes the workqueus use alloc_percpu instead of an array.  The
workqueues are placed on nodes local to each processor.

The workqueue structure can grow to a significant size on a system with
lots of processors if this patch is not applied.  64 bit architectures with
all debugging features enabled and configured for 512 processors will not
be able to boot without this patch.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/workqueue.c