Re: 2.5.69-mm8

William Lee Irwin III
2003-05-22T14:55:31Z

On Thu, May 22, 2003 at 02:16:52AM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.69/2.5.69-mm8/
> . One anticipatory scheduler patch, but it's a big one. I have not stress
> tested it a lot. If it explodes please report it and then boot with
> elevator=deadline.
> . The slab magazine layer code is in its hopefully-final state.
> . Some VFS locking scalability work - stress testing of this would be
> useful.

Looks like this bit fell out from mainline; required for CONFIG_NUMA
to compile and identical to mainline.

-- wli

diff -prauN mm8-2.5.69-1/kernel/sched.c mm8-2.5.69-2/kernel/sched.c
--- mm8-2.5.69-1/kernel/sched.c 2003-05-22 04:54:59.000000000 -0700
+++ mm8-2.5.69-2/kernel/sched.c 2003-05-22 07:35:01.000000000 -0700
@@ -1084,6 +1084,9 @@ static void balance_node(runqueue_t *thi

static void rebalance_tick(runqueue_t *this_rq, int idle)
{
+#ifdef CONFIG_NUMA
+ int this_cpu = smp_processor_id();
+#endif
unsigned long j = jiffies;

/*