Messages in this thread | | | Date | Wed, 23 Aug 2006 21:27:01 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 17/18] 2.6.17.9 perfmon2 patch for review: modified x86_64 files |
| |
On 23 Aug 2006 12:09:25 +0200 Andi Kleen <ak@suse.de> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |