Re: [PATCH] Make highly niced processes run only when idle

Ton Hospel (linux-kernel@ton.iguana.be)
Tue, 11 Dec 2001 01:36:51 +0000 (UTC)


In article <1007939114.878.1.camel@phantasy>,
Robert Love <rml@tech9.net> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/