Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755291Ab1DURZM (ORCPT ); Thu, 21 Apr 2011 13:25:12 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:46831 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755156Ab1DURZK (ORCPT ); Thu, 21 Apr 2011 13:25:10 -0400 Date: Thu, 21 Apr 2011 22:40:42 +0530 From: Srikar Dronamraju To: Peter Zijlstra Cc: Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Jonathan Corbet , Christoph Hellwig , Masami Hiramatsu , Thomas Gleixner , Ananth N Mavinakayanahalli , Oleg Nesterov , LKML , SystemTap , Jim Keniston , Roland McGrath , Andi Kleen , Andrew Morton Subject: Re: [PATCH v3 2.6.39-rc1-tip 15/26] 15: uprobes: Handing int3 and singlestep exception. Message-ID: <20110421171042.GI10698@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20110401143223.15455.19844.sendpatchset@localhost6.localdomain6> <20110401143527.15455.32854.sendpatchset@localhost6.localdomain6> <1303218185.8345.0.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1303218185.8345.0.camel@twins> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 818 Lines: 25 * Peter Zijlstra [2011-04-19 15:03:05]: > On Fri, 2011-04-01 at 20:05 +0530, Srikar Dronamraju wrote: > > + if (unlikely(!utask)) { > > + utask = add_utask(); > > + > > + /* Failed to allocate utask for the current task. */ > > + BUG_ON(!utask); > > That's not really nice is it ;-) means I can make the kernel go BUG by > simply applying memory pressure. > The other option would be remove the probe and set the ip to the breakpoint address and restart the thread. -- Thanks and Regards Srikar -- 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/