From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v3 1/3] PMU: make {acquire, release}_pmu_ownership names consistent Date: Wed, 17 Feb 2016 09:52:20 -0500 Message-ID: <56C48924.9000600@oracle.com> References: <1455719856-20465-1-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455719856-20465-1-git-send-email-cardoe@cardoe.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Doug Goldstein , xen-devel@lists.xen.org Cc: Kevin Tian , Keir Fraser , Jan Beulich , Andrew Cooper , Aravind Gopalakrishnan , Jun Nakajima , Suravee Suthikulpanit List-Id: xen-devel@lists.xenproject.org On 02/17/2016 09:37 AM, Doug Goldstein wrote: > The function names were inconsistent with acquire and release being > called acquire_pmu_ownership() and release_pmu_ownship() respectively. > Function prototypes were available for both spellings so this change > makes them consistent and drops the dual function prototypes. > Additionally change the internal variable names within those functions > to ownership as well. Reviewed-by: Boris Ostrovsky although I think > > diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c > index 19b4605..7a3fc86 100644 > --- a/xen/common/xenoprof.c > +++ b/xen/common/xenoprof.c > @@ -50,16 +50,16 @@ static u64 passive_samples; > static u64 idle_samples; > static u64 others_samples; > > -int acquire_pmu_ownership(int pmu_ownship) > +int acquire_pmu_ownership(int pmu_ownership) > { > using 'new_pmu_owner' as argument might be slightly better. -boris