Re: static scheduling - SCHED_IDLE?

Jamie Lokier
2001-03-09T19:46:32Z

Rik van Riel wrote:
> > > Of course. Now we just need the code to determine when a task
> > > is holding some kernel-side lock ;)
> >
> > couldn't it just be indicated on actual locking the resource?
>
> It could, but I doubt we would want this overhead on the locking...

Just raise the priority whenever the task's in kernel mode. Problem solved.

-- Jamie