Re: SCHED_IDLE patch is a source of DoS

Paul Barton-Davis (pbd@Op.Net)
Tue, 10 Nov 1998 08:25:59 -0500


>So surely the fix is to have the SCHED_IDLE process temporarily lose its
>SCHED_IDLE status when it obtains any form of lock.

Its a fix, sure. But it also complicates kernel scheduling to the
point that future scheduling extensions will become very
difficult.

Also, "any form of lock" is a bit loose. Do we mean a "real" lock as
implemented by down()/up(), and which includes the appropriate
condition-waiting code, or spinlocks too, which provide no support for
the

lock();
schedule();
unlock();

model ?

--p

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