From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D189AB6FA1 for ; Wed, 6 Jun 2012 19:40:22 +1000 (EST) Received: by werh12 with SMTP id h12so4134614wer.38 for ; Wed, 06 Jun 2012 02:40:18 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 6 Jun 2012 11:40:15 +0200 From: Ingo Molnar To: Ananth N Mavinakayanahalli Subject: Re: [PATCH 1/2] uprobes: Pass probed vaddr to arch_uprobe_analyze_insn() Message-ID: <20120606094014.GD9495@gmail.com> References: <20120606091950.GB6745@in.ibm.com> <1338974632.2749.87.camel@twins> <20120606093744.GB29580@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120606093744.GB29580@in.ibm.com> Cc: Srikar Dronamraju , Peter Zijlstra , lkml , oleg@redhat.com, Paul Mackerras , Anton Blanchard , Ingo Molnar , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Ananth N Mavinakayanahalli wrote: > On Wed, Jun 06, 2012 at 11:23:52AM +0200, Peter Zijlstra wrote: > > On Wed, 2012-06-06 at 14:49 +0530, Ananth N Mavinakayanahalli wrote: > > > +int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct *mm, loff_t vaddr) > > > > Don't we traditionally use unsigned long to pass vaddrs? > > Right. But the vaddr we pass here is vma_info->vaddr which is loff_t. > I guess I should've made that clear in the patch description. Why not fix struct vma_info's vaddr type? Thanks, Ingo