Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753827Ab0FWXx1 (ORCPT ); Wed, 23 Jun 2010 19:53:27 -0400 Received: from ozlabs.org ([203.10.76.45]:53534 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532Ab0FWXxZ (ORCPT ); Wed, 23 Jun 2010 19:53:25 -0400 Date: Thu, 24 Jun 2010 09:53:09 +1000 From: Paul Mackerras To: Frederic Weisbecker Cc: linux-kernel@vger.kernel.org, Ingo Molnar , "K.Prasad" , Peter Zijlstra Subject: Re: Hitting WARN_ON in hw_breakpoint code Message-ID: <20100623235309.GA17441@brick.ozlabs.ibm.com> References: <20100623125740.GA3368@brick.ozlabs.ibm.com> <20100623174918.GH5242@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100623174918.GH5242@nowhere> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 751 Lines: 18 On Wed, Jun 23, 2010 at 07:49:20PM +0200, Frederic Weisbecker wrote: > Indeed. I'm suprised I've never seen this problem before while the > bug is quite obvious. > > Anyway I'm cooking a fix, thanks for this report! If you haven't been seeing it on x86, I think I'll look a bit closer. I would have thought that the perf_event would have a reference to the context, so the context shouldn't have gone away while the perf_event still exists. It may be something we're doing differently on ppc64. Paul. -- 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/