From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751781Ab2FLPPa (ORCPT ); Tue, 12 Jun 2012 11:15:30 -0400 Received: from merlin.infradead.org ([205.233.59.134]:53426 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074Ab2FLPP3 convert rfc822-to-8bit (ORCPT ); Tue, 12 Jun 2012 11:15:29 -0400 Message-ID: <1339514114.31548.78.camel@twins> Subject: Re: rcu,sched: spinlock recursion on 3.5-rc2 From: Peter Zijlstra To: Thomas Gleixner Cc: "Paul E. McKenney" , Sasha Levin , Ingo Molnar , "linux-kernel@vger.kernel.org" , Dave Jones Date: Tue, 12 Jun 2012 17:15:14 +0200 In-Reply-To: References: <1339500907.4999.99.camel@lappy> <20120612144705.GB2423@linux.vnet.ibm.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-06-12 at 17:07 +0200, Thomas Gleixner wrote: > Hmm, not sure. The deadlock was not triggered in switch_to. It was > just at the beginning of __schedule() > > How can you tell? switch_to() is a macro not a function, it won't ever show up on a stack-trace.. but I think you meant context_switch() but that typically gets inlined, similar problem.