Index: linux-2.6.18-mm3/kernel/workqueue.c =================================================================== --- linux-2.6.18-mm3.orig/kernel/workqueue.c 2006-09-19 22:42:06.000000000 -0500 +++ linux-2.6.18-mm3/kernel/workqueue.c 2006-10-03 12:58:59.866671729 -0500 @@ -28,6 +28,7 @@ #include #include #include +#include /* * The per-CPU workqueue (if single thread, we always use the first @@ -245,6 +246,12 @@ static int worker_thread(void *__cwq) sigprocmask(SIG_BLOCK, &blocked, NULL); flush_signals(current); + /* + * We inherited MPOL_INTERLEAVE from the booting kernel. + * Set MPOL_DEFAULT to insure node local allocations. + */ + numa_default_policy(); + /* SIG_IGN makes children autoreap: see do_notify_parent(). */ sa.sa.sa_handler = SIG_IGN; sa.sa.sa_flags = 0;