Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759041Ab2J2NbG (ORCPT ); Mon, 29 Oct 2012 09:31:06 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:51836 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757314Ab2J2NbB (ORCPT ); Mon, 29 Oct 2012 09:31:01 -0400 Date: Mon, 29 Oct 2012 18:58:33 +0530 From: Ananth N Mavinakayanahalli To: Oleg Nesterov Cc: Sebastian Andrzej Siewior , Srikar Dronamraju , Anton Arapov , Benjamin Herrenschmidt , Ingo Molnar , Peter Zijlstra , Rabin Vincent , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] uprobes/powerpc: Don't clear TIF_UPROBE in do_notify_resume() Message-ID: <20121029132833.GA14033@in.ibm.com> Reply-To: ananth@in.ibm.com References: <20121028173900.GA14621@redhat.com> <20121028173925.GA14642@redhat.com> <20121029052707.GA3400@in.ibm.com> <20121029124325.GA31397@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121029124325.GA31397@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12102913-8974-0000-0000-000010448CFE X-IBM-ISS-SpamDetectors: X-IBM-ISS-DetailInfo: BY=3.00000294; HX=3.00000198; KW=3.00000007; PH=3.00000001; SC=3.00000008; SDB=6.00186672; UDB=6.00042285; UTC=2012-10-29 13:30:45 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1893 Lines: 58 On Mon, Oct 29, 2012 at 01:43:25PM +0100, Oleg Nesterov wrote: > On 10/29, Ananth N Mavinakayanahalli wrote: > > > > On Sun, Oct 28, 2012 at 06:39:25PM +0100, Oleg Nesterov wrote: > > > > Hi Oleg, > > > > > Cleanup. No need to clear TIF_UPROBE, do_notify_resume() does this. > > > > > > Signed-off-by: Oleg Nesterov > > > --- > > > arch/powerpc/kernel/signal.c | 4 +--- > > > 1 files changed, 1 insertions(+), 3 deletions(-) > > > > > > diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c > > > index a2dc757..3b99711 100644 > > > --- a/arch/powerpc/kernel/signal.c > > > +++ b/arch/powerpc/kernel/signal.c > > > @@ -158,10 +158,8 @@ static int do_signal(struct pt_regs *regs) > > > > > > void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags) > > > > But this _is_ do_notify_resume()... > > Argh. I'll fix the changelog, see v2 below. > > > I don't see this flag cleared > > anywhere else. > > > > Did you have something else in mind? > > Sorry for confusion. > > As Srikar explained, it is cleared by uprobe_notify_resume(). See db023ea5 > "uprobes: Move clear_thread_flag(TIF_UPROBE) to uprobe_notify_resume()", it > is already in Linus's tree. I was looking at rc2.. that explains it. > Oleg. > > ------------------------------------------------------------------------------ > Subject: [PATCH 1/4] uprobes/powerpc: Don't clear TIF_UPROBE in do_notify_resume() > > Cleanup. No need to clear TIF_UPROBE, uprobe_notify_resume() does this. > > Signed-off-by: Oleg Nesterov Acked-by: Ananth N Mavinakayanahalli Thanks Oleg! Ananth -- 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/