Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats

From: Andrew Morton
Date: Thu Jun 29 2006 - 22:34:16 EST


On Thu, 29 Jun 2006 19:25:26 -0700
Paul Jackson <pj@xxxxxxx> wrote:

> Andrew wrote:
> > Like, a single message which says "20,000 sub-millisecond-runtime tasks
> > exited in the past second" or something.
>
> System wide accumulation of such data in the exit() code path still
> risks being a bottleneck, just a bit later on.

Nah. Stick it in the same cacheline as tasklist_lock (I'm amazed that
we've continued to get away with a global lock for that).

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