Re: [uPATCH] SMP scheduling fix (?)

Stephen C. Tweedie (sct@redhat.com)
Tue, 19 Jan 1999 19:05:07 GMT


Hi,

In article <m102hDR-0007U1C@the-village.bc.nu>, alan@lxorguk.ukuu.org.uk
(Alan Cox) writes:

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

> In terms of forward progress there are - as well as all the deeper
> memory waits.

> Instead of "in D state" how about "in kernel wait" ?

D'oh. Sleeping processes are irrelevant, of course. :-O

The sched-idle scheduler must never stall a kernel-mode runnable process
indefinitely. As long as it only stalls preempted user-mode processes,
all is well.

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