From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by kanga.kvack.org (Postfix) with ESMTP id 02D449000BD for ; Mon, 26 Sep 2011 12:20:40 -0400 (EDT) Received: from /spool/local by us.ibm.com with XMail ESMTP for from ; Mon, 26 Sep 2011 12:18:33 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8QGGrPu192446 for ; Mon, 26 Sep 2011 12:16:53 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8QGGpCo008243 for ; Mon, 26 Sep 2011 12:16:53 -0400 Date: Mon, 26 Sep 2011 21:31:44 +0530 From: Srikar Dronamraju Subject: Re: [PATCH v5 3.1.0-rc4-tip 12/26] Uprobes: Handle breakpoint and Singlestep Message-ID: <20110926160144.GC13535@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20110920115938.25326.93059.sendpatchset@srdronam.in.ibm.com> <20110920120221.25326.74714.sendpatchset@srdronam.in.ibm.com> <1317045553.1763.23.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1317045553.1763.23.camel@twins> Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Jonathan Corbet , Hugh Dickins , Christoph Hellwig , Masami Hiramatsu , Thomas Gleixner , Ananth N Mavinakayanahalli , Oleg Nesterov , Andrew Morton , Jim Keniston , Roland McGrath , Andi Kleen , LKML * Peter Zijlstra [2011-09-26 15:59:13]: > On Tue, 2011-09-20 at 17:32 +0530, Srikar Dronamraju wrote: > > Hence provide some extra > > + * time (by way of synchronize_sched() for breakpoint hit threads to acquire > > + * the uprobes_treelock before the uprobe is removed from the rbtree. > > 'Some extra time' doesn't make me all warm an fuzzy inside, but instead > screams we fudge around a race condition. The extra time provided is sufficient to avoid the race. So will modify it to mean "sufficient" instead of "some". Would that suffice? -- Thanks and Regards Srikar -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org