Re: [PATCH 2.5.45] NUMA Scheduler (1/2)

Martin J. Bligh (mbligh@aracnet.com)
Thu, 31 Oct 2002 18:35:06 -0800


--==========3481431698==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hum. A last minute change broke UP compilation.
Attatched ... should come out as text/plain so you can read
it, but if it all goes wrong, it just removes:

if (cache_decay_ticks)
cache_decay_ticks=1;

from sched_init.

M.

--==========3481431698==========
Content-Type: text/plain; charset=us-ascii; name=numaschedfix
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=numaschedfix; size=357

--- 2.5.45-numasched/kernel/sched.c.old 2002-10-31 17:48:41.000000000 -0800
+++ 2.5.45-numasched/kernel/sched.c 2002-10-31 17:51:43.000000000 -0800
@@ -2331,8 +2331,7 @@
__set_bit(MAX_PRIO, array->bitmap);
}
}
- if (cache_decay_ticks)
- cache_decay_ticks=1;
+
/*
* We have to do a little magic to get the first
* thread right in SMP mode.

--==========3481431698==========--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/