]> git.baikalelectronics.ru Git - kernel.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)
commite353793665f6cbe95163999e9e8000c664c6794c
tree00986fd653bf1973a70ae894f503b3b2352943b5
parent8c3d44edf41ca6e64db82005b4906d8000ffcc6f
[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