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

Andrew Morton
2006-06-30T02:35:47Z

On Thu, 29 Jun 2006 19:25:26 -0700
Paul Jackson <pj@sgi.com> 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).