Re: Scheduler & semaphore patch for 2.2.14 ...

From: Davide Libenzi (davidel@maticad.it)
Date: Mon Jan 24 2000 - 06:46:36 EST


Monday, January 24, 2000 12:43 PM
Pavel Machek <pavel@suse.cz> wrote :
> Why not
>
> if ((c <= 0) && (nr_running >= smp_num_cpus)) /* To fix better */
>
> and define smp_num_cpus to 1 if case of UP system? [I think it already
> _is_ defnied like this...]

100% agree.

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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:11 EST