[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] scheduler hints
On Fri, Jun 07, 2002 at 01:32:31PM +0200, Pavel Machek wrote:
> > Boosting its priority will assure there is no priority inversion and
> > that, eventually, the task will run - but it does nothing to avoid the
> > nasty "grab resource, be preempted, reschedule a bunch, finally find
> > yourself running again since everyone else blocked" issue.
> >
> > And I don't think only root should be able to do this. If we later
> > punish the task (take back the timeslice we gave it) then this is
> > fair.
> Another possibility might be to allow it to *steal* time from another
> processes... Of course only processes of same UID ;-).
> Pavel

Good idea!

And I would say SID instead of UID and give up, if no task in the
same SID is runnable.

One could provide different policies here, which the user can

That way we aren't at least unfair to other users on our remote


Ingo Oeser
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.070 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site