The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Andi Kleen <ak@suse.de>
Cc: Stephane Eranian <eranian@frankl.hpl.hp.com>,
	eranian@hpl.hp.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 17/18] 2.6.17.9 perfmon2 patch for review: modified x86_64 files
Date: Wed, 23 Aug 2006 21:27:01 -0700	[thread overview]
Message-ID: <20060823212701.07d38455.akpm@osdl.org> (raw)
In-Reply-To: <p73k64z7oh6.fsf@verdi.suse.de>

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.

  reply	other threads:[~2006-08-24  4:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23  8:06 [PATCH 17/18] 2.6.17.9 perfmon2 patch for review: modified x86_64 files Stephane Eranian
2006-08-23 10:09 ` Andi Kleen
2006-08-24  4:27   ` Andrew Morton [this message]
2006-08-24  9:04   ` Stephane Eranian
2006-08-24  9:20     ` Andi Kleen
2006-08-24  9:31       ` Stephane Eranian
2006-08-24 14:42       ` Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060823212701.07d38455.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=ak@suse.de \
    --cc=eranian@frankl.hpl.hp.com \
    --cc=eranian@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox