Re: Overview of concurrency managed workqueue

From: Stefan Richter
Date: Wed Jun 16 2010 - 14:32:31 EST


Daniel Walker wrote:
[tweak scheduling priority of a worker thread]
> Let say I have a high priority
> thread in userspace , and I discover through analysis that my thread is
> being forced to wait on a workqueue thread (priority inversion) , so
> then I just increase the workqueue thread priority to overcome the
> inversion. That's totally valid, and you don't even need to know exactly
> what the thread is doing..

I suspect the _actual_ problem to solve here is not that of proper
scheduling priorities but that of having to meet deadlines.
--
Stefan Richter
-=====-==-=- -==- =----
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/