From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754395Ab3JDTnA (ORCPT ); Fri, 4 Oct 2013 15:43:00 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54638 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752898Ab3JDTm7 (ORCPT ); Fri, 4 Oct 2013 15:42:59 -0400 Date: Fri, 4 Oct 2013 21:42:51 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Steven Rostedt , Oleg Nesterov , Paul McKenney , Mel Gorman , Rik van Riel , Srikar Dronamraju , Ingo Molnar , Andrea Arcangeli , Johannes Weiner , Thomas Gleixner , Linux Kernel Mailing List Subject: Re: [PATCH 1/5] rcusync: introduce struct rcu_sync_ops Message-ID: <20131004194251.GX15690@laptop.programming.kicks-ass.net> References: <20131004184614.GA17536@redhat.com> <20131004184629.GA17550@redhat.com> <20131004153012.19245adb@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 04, 2013 at 12:38:37PM -0700, Linus Torvalds wrote: > On Fri, Oct 4, 2013 at 12:30 PM, Steven Rostedt wrote: > > > > As all the rcu_synchronization() methods (on non UP) are quite > > expensive, I doubt that this optimization is worth anything. > > Maybe. It just annoys me, because afaik, the function that gets called > is always static per callsite. Yes, very much so indeed. Worst is that we have no users of the regular RCU and RCU_BH variants and only included them for completeness since the general operation is just as valid for those.