Re: SCHED_IDLE patch is a source of DoS

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Wed, 11 Nov 1998 20:50:05 +0100 (CET)


On Wed, 11 Nov 1998, Rik van Riel wrote:

> > the problem is that there is no easy central way to determine wether a
> > process 'holds some valuable resource'.
>
> If it is in kernel mode (we can determine this, can't we?)
> we can take the assumption.

_every process_ that is scheduling is in kernel mode. If you mean 'if it's
preempted by an interrupt', then yes it removes the DoS. It's not very
robust though.

-- mingo

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