Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757601AbXIFSGv (ORCPT ); Thu, 6 Sep 2007 14:06:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755095AbXIFSGm (ORCPT ); Thu, 6 Sep 2007 14:06:42 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:35242 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754562AbXIFSGl (ORCPT ); Thu, 6 Sep 2007 14:06:41 -0400 Date: Thu, 6 Sep 2007 11:06:34 -0700 From: "Paul E. McKenney" To: Clark Williams Cc: Steven Rostedt , john stultz , Ingo Molnar , Thomas Gleixner , Oleg Nesterov , LKML , Dipankar Sarma , RT Subject: Re: [PATCH RT] convert RCU Preempt tasklet into softirq. Message-ID: <20070906180634.GG8030@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20070607041411.GB1783@linux.vnet.ibm.com> <1181226138.18444.54.camel@localhost.localdomain> <20070607161754.GA11941@linux.vnet.ibm.com> <1181240819.10408.14.camel@localhost.localdomain> <20070607210247.GA9390@linux.vnet.ibm.com> <1181316428.10408.30.camel@localhost.localdomain> <20070608193655.GA18399@linux.vnet.ibm.com> <1181331828.10408.34.camel@localhost.localdomain> <20070608200058.GC18399@linux.vnet.ibm.com> <46E03E40.80801@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E03E40.80801@redhat.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2333 Lines: 52 On Thu, Sep 06, 2007 at 12:52:00PM -0500, Clark Williams wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Paul E. McKenney wrote: > > On Fri, Jun 08, 2007 at 03:43:48PM -0400, Steven Rostedt wrote: > >> On Fri, 2007-06-08 at 12:36 -0700, Paul E. McKenney wrote: > >>> On Fri, Jun 08, 2007 at 11:27:08AM -0400, Steven Rostedt wrote: > >>>> The first time I compiled it, I forgot the ';' and got a warning there. > >>>> But the warning also included "declaring structure softirq_action in > >>>> prototype", so I fixed both the ';' and added the struct. I can try > >>>> compile without it. But I also know that adding #include > >>>> in rcupreempt.h caused issues too. > >>> If I leave out both the "struct softirq_action" and the > >>> rcu_process_callbacks() declaration,, it compiles for me. > >>> > >>> So I guess the rcu_process_callbacks() should be declared static... > >> OK, I can update the patch to reflect that. Remember, I didn't learn > >> anything from doing this patch, so I have no idea why > >> rcu_procell_callbacks was global. I was just keeping to the norm. :-) > > > > Hey, -I- learned something from your doing the patch -- namely that > > rcu_process_callbacks() was needlessly non-static. ;-) > > > >> Actually, I'll make a separate patch for this change. This is a > >> different issue. > > > > Sounds good! > > > > Paul, > > I had a test run of a kernel using Steven's patch (RCU using tasklets) going over the > weekend. It looks like it made it through running racer for 24hrs without a panic, > but I'm not entirely convinced (since my reservation of the test system expired on > Saturday and I didn't look at it until Wednesday; bad Clark, no doughnut). > > I've got another test running now and I'll be able to poke around on the system > tomorrow morning to see if in fact there were no RCU related Oops'en. I'll let you > know what we find. Thank you for the info, Clark! Of course, this all begs the question of why the heck switching from tasklets to softirqs should make any difference at all... Thanx, 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/