Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752161AbbEFNW2 (ORCPT ); Wed, 6 May 2015 09:22:28 -0400 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:48122 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbbEFNW1 (ORCPT ); Wed, 6 May 2015 09:22:27 -0400 Date: Wed, 6 May 2015 18:52:20 +0530 From: Srikar Dronamraju To: Oleg Nesterov Cc: Ananth N Mavinakayanahalli , Anton Arapov , David Long , Denys Vlasenko , "Frank Ch. Eigler" , Ingo Molnar , Jan Willeke , Jim Keniston , Mark Wielaard , Pratyush Anand , linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/10] uprobes: Introduce free_ret_instance() Message-ID: <20150506132220.GD4519@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20150504124835.GA22462@redhat.com> <20150504124854.GA22485@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20150504124854.GA22485@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15050613-0017-0000-0000-000004F0CCB9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 22 * Oleg Nesterov [2015-05-04 14:48:54]: > We can simplify uprobe_free_utask() and handle_uretprobe_chain() > if we add a simple helper which does put_uprobe/kfree and returns > the ->next return_instance. > > 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/