[lkml]   [2001]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Make highly niced processes run only when idle
In article <1007939114.878.1.camel@phantasy>,
Robert Love <> writes:
> I've seen a few solutions. The easiest is to just give idle tasks a
> "boost" on occasion to give them a chance to prevent the deadlock. You
> then, however, have the problem where the tasks can take advantage of
> the boost... Or, we could fix in-kernel deadlocks by doing priority
> inheriting on locks held by A and wanted by B (i.e., if A holds

Please don't. Whenever you think you priority inheritance, it's a sign your
system has got too complicated. The simplest solution is to simply have no
priorities when a task is in-kernel (or at least non that can completely
exclude a task).
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:14    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean