Re: Scheduler & semaphore patch for 2.2.14 ...

Davide Libenzi (davidel@maticad.it)
Mon, 24 Jan 2000 12:46:36 +0100


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/