LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Benjamin LaHaise <bcrl@kvack.org>
Cc: Andi Kleen <ak@suse.de>, Christoph Lameter <clameter@sgi.com>,
	linux-kernel@vger.kernel.org,
	Chuck Ebbert <76306.1226@compuserve.com>
Subject: Re: oprofile broken in 2.6.21 SMP (was Re: Remove constructor from buffer_head)
Date: Mon, 14 May 2007 20:12:32 -0700	[thread overview]
Message-ID: <20070514201232.ad4768f9.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070513203816.GI30571@kvack.org>

On Sun, 13 May 2007 16:38:16 -0400 Benjamin LaHaise <bcrl@kvack.org> wrote:

> On Sat, May 05, 2007 at 11:31:20AM +0200, Andi Kleen wrote:
> > Hmm, after a opcontrol --reset i see the same issue now. Don't know what's 
> > wrong, but it must be something different from the .20 perfctr allocation
> > problem.
> > 
> > It looks like the daemon doesn't get any data from the kernel
> 
> I finally had time to track this down.  The breakage is caused by "[PATCH] 
> x86-64: Let oprofile reserve MSR on all CPUs".  Oprofile is already calling 
> the reserve functions on each CPU in the system when it sets up the MSRs.  
> This results in oprofile getting a reservation failure on CPUs above 0.  The 
> following makes oprofile adapt to the API change for now -- oprofile 
> still needs to be modified to perform the reservations earlier during its 
> initialization, but that's a little bit more involved than the immediate 
> bug fix.  This only affects systems with more than 1 CPU.  This patch has 
> been through limited testing (Athlon 64 X2 and Core 2, but not on the P4) on 
> x86 and x86-64 (Core 2 only).

Unfortunately we've left this a bit too late - your patch is patching code which
isn't there any more in mainline and we also need a 2.6.21.x fix.

So perhaps we could merge your "immediate bugfix" into -stable and implement the
"more involved" fix for 2.6.22.

Andi, any preferences?

  reply	other threads:[~2007-05-15  3:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04  3:08 Remove constructor from buffer_head Christoph Lameter
2007-05-04  3:21 ` Andrew Morton
2007-05-04  3:34   ` Christoph Lameter
2007-05-04  4:37     ` Andrew Morton
2007-05-04  4:34   ` Christoph Lameter
2007-05-04  6:35 ` William Lee Irwin III
2007-05-04 16:05   ` Christoph Lameter
2007-05-04 20:42 ` Andrew Morton
2007-05-04 21:33   ` Andrew Morton
2007-05-04 23:22     ` Andi Kleen
2007-05-04 23:45       ` Andrew Morton
2007-05-05  9:31         ` Andi Kleen
2007-05-13 20:38           ` oprofile broken in 2.6.21 SMP (was Re: Remove constructor from buffer_head) Benjamin LaHaise
2007-05-15  3:12             ` Andrew Morton [this message]
2007-05-04 21:42   ` Remove constructor from buffer_head Christoph Lameter
2007-05-04 21:47     ` Andrew Morton
2007-05-04 21:52   ` Chuck Ebbert

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=20070514201232.ad4768f9.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=76306.1226@compuserve.com \
    --cc=ak@suse.de \
    --cc=bcrl@kvack.org \
    --cc=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: oprofile broken in 2.6.21 SMP (was Re: Remove constructor from buffer_head)' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).