Re: [uPATCH] SMP scheduling fix (?)

Stephen C. Tweedie (sct@redhat.com)
Tue, 19 Jan 1999 17:44:09 GMT


Hi,

On Fri, 15 Jan 1999 13:12:04 +0100, Pavel Machek <pavel@bug.ucw.cz>
said:

> But it is currently impossible with linux: it opens DoS attack.

> make your nice 20 task hold some lock, and then run 'normal' task so
> that nice 20 task will never ever get cpu again. BOom, you are holding
> lock and are not going to release it.

> Is there solution to this?

The easiest way is just to do normal time-sharing scheduling on all
processes in D state. Are there any critical locks which we wait for in
interruptible-sleep state?

--Stephen

-
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/