Re: [PATCH 17/18] 2.6.17.9 perfmon2 patch for review: modifiedx86_64 files

From: Andrew Morton
Date: Thu Aug 24 2006 - 00:34:44 EST


On 23 Aug 2006 12:09:25 +0200
Andi Kleen <ak@xxxxxxx> wrote:

> > void flush_thread(void)
> > @@ -462,6 +464,8 @@ int copy_thread(int nr, unsigned long cl
> > asm("mov %%es,%0" : "=m" (p->thread.es));
> > asm("mov %%ds,%0" : "=m" (p->thread.ds));
> >
> > + pfm_copy_thread(p);
> > +
>
> AFAIK there was some work in -mm* for generic notifiers for exit/copy hooks. Can those
> be used?

I dropped them. It was nice code, but there was overhead. I went for
nasty&&fast over nice&&slow.
-
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/