Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030575AbaDJMiV (ORCPT ); Thu, 10 Apr 2014 08:38:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030461AbaDJMiU (ORCPT ); Thu, 10 Apr 2014 08:38:20 -0400 Message-ID: <534690A4.8010003@redhat.com> Date: Thu, 10 Apr 2014 14:37:56 +0200 From: Denys Vlasenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Oleg Nesterov , Ingo Molnar , Srikar Dronamraju CC: Ananth N Mavinakayanahalli , Anton Arapov , David Long , "Frank Ch. Eigler" , Jim Keniston , Jonathan Lebon , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 2/6] uprobes/x86: Emulate unconditional rip-relative jmp's References: <20140409194427.GA6221@redhat.com> In-Reply-To: <20140409194427.GA6221@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/09/2014 09:44 PM, Oleg Nesterov wrote: > uprobes/x86: Emulate unconditional rip-relative jmp's I propose "Emulate unconditional relative jmp's" > + union { > #ifdef CONFIG_X86_64 > - unsigned long rip_rela_target_address; > + unsigned long rip_rela_target_address; > #endif > + struct { > + s32 disp; In x86-speak, jumps and calls have "offsets", not "displacements" > + u8 ilen; > + } ttt; > + }; > }; -- 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/