Scheduler & semaphore patch for 2.2.14 ...
Davide Libenzi
dlibenzi en maticad.it
Dom Ene 23 22:46:18 CST 2000
On Sat, 22 Jan 2000, Pavel Machek wrote:
> there's no chance for this to go into 2.2.X (not a bugfix). 2.3.X is
> better target.
There is another issues coz the patch has a bug that came out in SMP.
Line 924 in sched.c must be changed from :
if ((c <= 0) && (nr_running > 0))
to :
#ifdef __SMP__
if ((c <= 0) && (nr_running >= smp_num_cpus)) /* To fix better */
#else
if ((c <= 0) && (nr_running > 0))
#endif /* __SMP__ */
Davide.
--
All this stuff is IMVHO
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda