Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755462AbaFCSj0 (ORCPT ); Tue, 3 Jun 2014 14:39:26 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:52201 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755179AbaFCSjY (ORCPT ); Tue, 3 Jun 2014 14:39:24 -0400 Date: Tue, 3 Jun 2014 20:39:19 +0200 From: Ingo Molnar To: Oleg Nesterov Cc: Ingo Molnar , Denys Vlasenko , Jim Keniston , Masami Hiramatsu , Srikar Dronamraju , linux-kernel@vger.kernel.org Subject: Re: [PATCH] uprobes/x86: Rename arch_uprobe->def into ->dflt, minor comment updates Message-ID: <20140603183919.GC7664@gmail.com> References: <20140601192520.GA14539@redhat.com> <20140603182142.GA5097@gmail.com> <20140603183057.GA31382@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140603183057.GA31382@redhat.com> 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 * Oleg Nesterov wrote: > On 06/03, Ingo Molnar wrote: > > > > * Oleg Nesterov wrote: > > > > > --- a/arch/x86/include/asm/uprobes.h > > > +++ b/arch/x86/include/asm/uprobes.h > > > @@ -52,7 +52,7 @@ struct arch_uprobe { > > > struct { > > > u8 fixups; > > > u8 ilen; > > > - } def; > > > + } dflt; > > > > Pls lts nt use slly abbrvtns, ok? > > OK. As I said in the previous dicussion, I agree with any naming. > > > How about arch_uprobe->default? > > And this is how it was named when I wrote this code. Unfortunately gcc > dislikes this name ;) So I renamed it to ->def. Then I was asked to > rename it and I agree, ->def doesn't look good. > > Could you suggest something better? So exactly what do those fields do? If it's scratch register handling, would it be logical to name it arch_uprobe->scratch, or so? Thanks, Ingo -- 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/