Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933723Ab2JZPRI (ORCPT ); Fri, 26 Oct 2012 11:17:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49133 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932078Ab2JZPRF (ORCPT ); Fri, 26 Oct 2012 11:17:05 -0400 Date: Fri, 26 Oct 2012 11:16:36 -0400 From: Dave Jones To: Frederic Weisbecker Cc: Sergey Senozhatsky , Oleg Nesterov , "Paul E. McKenney" , Serge Hallyn , linux-kernel@vger.kernel.org Subject: Re: lots of suspicious RCU traces Message-ID: <20121026151636.GA1578@redhat.com> Mail-Followup-To: Dave Jones , Frederic Weisbecker , Sergey Senozhatsky , Oleg Nesterov , "Paul E. McKenney" , Serge Hallyn , linux-kernel@vger.kernel.org References: <20121017034918.GA13295@redhat.com> <20121024164235.GA2467@swordfish> <20121024180608.GA22840@redhat.com> <20121024182111.GA2340@swordfish> <20121025055056.GA2661@swordfish> <20121025074147.GA2240@swordfish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1431 Lines: 38 On Fri, Oct 26, 2012 at 11:44:11AM +0200, Frederic Weisbecker wrote: > 2012/10/25 Sergey Senozhatsky : > > On (10/25/12 09:06), Frederic Weisbecker wrote: > >> >> > My understanding is (I may be wrong) that we can schedule() from ptrace chain to > >> >> > some arbitrary task, which will continue its execution from the point where RCU assumes > >> >> > CPU as not idle, while CPU in fact still in idle state -- no one said rcu_idle_exit() > >> >> > (or similar) prior to schedule() call. > >> >> > >> >> Yeah but when we are in syscall_trace_leave(), the CPU shouldn't be in > >> >> RCU idle mode. That's where the bug is. How do you manage to trigger > >> >> this bug? > >> > > >> > strace -f > >> I can't reproduce. Can you send me your config? > > > > sure, attached. > > Thanks. > > Sergey, Dave, > > Does the patch I just sent you fix the issue? I only saw this happening after hours of fuzzing. Right now I keep running into other issues before that gets a chance to happen, so I've not seen it in a while. I'll apply it to my tree, and run with it though. If I see it again, you'll be first to know :) Dave -- 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/