Re: [patch] kwaitd, 2.5.31-A1

Ingo Molnar (mingo@elte.hu)
Tue, 13 Aug 2002 19:42:48 +0200 (CEST)


On Tue, 13 Aug 2002, Andrew Morton wrote:

> Andrea's kernels have keventd running SCHED_RR, and that's appropriate
> to this application also. Not sure about AIO though.

actually, the default (non-RT) priority of kwaitd is a feature. If there's
lots of exit() activity with lots or running threads (which is the typical
case on an exit-all for threads) then the kwaitd work will nicely cluster
up due it *not* always having the highest priority. This makes the cost of
kwaitd equivalent to the cost of per-CPU lists, asymptotically.

Ingo

-
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/