Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752987AbbBJRtp (ORCPT ); Tue, 10 Feb 2015 12:49:45 -0500 Received: from e35.co.us.ibm.com ([32.97.110.153]:41100 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751658AbbBJRto (ORCPT ); Tue, 10 Feb 2015 12:49:44 -0500 Date: Tue, 10 Feb 2015 09:49:38 -0800 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: Rik van Riel , will.deacon@arm.com, linux-kernel@vger.kernel.org, Catalin.Marinas@arm.com, kvm@vger.kernel.org, mtosatti@redhat.com, borntraeger@de.ibm.com, mingo@kernel.org, oleg@redhat.com, lcapitulino@redhat.com, pbonzini@redhat.com Subject: Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions Message-ID: <20150210174938.GR4166@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1423579310-24555-1-git-send-email-riel@redhat.com> <1423579310-24555-2-git-send-email-riel@redhat.com> <20150210152832.GA21917@lerouge> <54DA3665.40908@redhat.com> <20150210172526.GQ4166@linux.vnet.ibm.com> <20150210173644.GB21917@lerouge> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150210173644.GB21917@lerouge> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15021017-0013-0000-0000-000008A004DB Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2619 Lines: 58 On Tue, Feb 10, 2015 at 06:36:47PM +0100, Frederic Weisbecker wrote: > On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote: > > On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: > > > On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: > > > > On Tue, Feb 10, 2015 at 09:41:45AM -0500, riel@redhat.com wrote: > > > >> From: Rik van Riel > > > >> > > > >> These wrapper functions allow architecture code (eg. ARM) to keep > > > >> calling context_tracking_user_enter & context_tracking_user_exit > > > >> the same way it always has, without error prone tricks like duplicate > > > >> defines of argument values in assembly code. > > > >> > > > >> Signed-off-by: Rik van Riel > > > > > > > > This patch alone doesn't make much sense. > > > > > > Agreed, my goal was to keep things super easy to review, > > > to reduce the chance of introducing bugs. > > > > > > > The changelog says it's about keeping > > > > context_tracking_user_*() functions as wrappers but fails to explain to what they > > > > wrap, why and what are the new context_tracking_enter/exit functions for. > > > > > > > > Perhaps patches 1 and 2 should be merged together into something like: > > > > > > > > context_tracking: Generalize context tracking APIs to support user and guest > > > > > > > > Do that because we'll also track guest....etc And keep the old user context tracking APIs > > > > for now to avoid painful enum parameter support in ARM assembly.... > > > > > > Can do... > > > > > > Paul, would you like me to resend the whole series, or just > > > a merged patch that replaces patches 1 & 2? > > > > I prefer the whole series, as it reduces my opportunity to introduce > > human error when applying them. ;-) > > > > > That is assuming Paul prefers having the patches merged into > > > one :) > > > > I am OK with that. I will merge the next set with the first two patches > > merged, people have had sufficient opportunity to review. > > BTW, I have a few patches to make on the next cycle to fix a few context tracking > related things. And since it's too late to push this series for the current merge window, > now I wonder it may be easier if I take these patches. Otherwise you might experience > unpleasant rebase conflicts. Is that ok for you? Works for me! ;-) 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/