Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754746AbbGJLxZ (ORCPT ); Fri, 10 Jul 2015 07:53:25 -0400 Received: from e28smtp09.in.ibm.com ([122.248.162.9]:57105 "EHLO e28smtp09.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754618AbbGJLxR (ORCPT ); Fri, 10 Jul 2015 07:53:17 -0400 X-Helo: d28dlp02.in.ibm.com X-MailFrom: srikar@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Fri, 10 Jul 2015 17:22:59 +0530 From: Srikar Dronamraju To: Oleg Nesterov , Ingo Molnar Cc: Ananth Mavinakayanahalli , Anton Arapov , David Long , Denys Vlasenko , "Frank Ch. Eigler" , Jan Willeke , Jim Keniston , Mark Wielaard , Pratyush Anand , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 06/11] uprobes: Export struct return_instance, introduce arch_uretprobe_is_alive() Message-ID: <20150710115259.GF26095@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20150707012210.GA7466@redhat.com> <20150707012254.GA7526@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20150707012254.GA7526@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15071011-0033-0000-0000-000006AF12E7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 25 * Oleg Nesterov [2015-07-07 03:22:54]: > Add the new "weak" helper, arch_uretprobe_is_alive(), used by the next > patches. It should return true if this return_instance is still valid. > The arch agnostic version just always returns true. > > The patch exports "struct return_instance" for the architectures which > want to override this hook. We can also cleanup prepare_uretprobe() if > we pass the new return_instance to arch_uretprobe_hijack_return_addr(). > > Signed-off-by: Oleg Nesterov Looks good to me. Acked-by: Srikar Dronamraju -- Thanks and Regards Srikar Dronamraju -- 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/