From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757461Ab2DTS7k (ORCPT ); Fri, 20 Apr 2012 14:59:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31289 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755073Ab2DTS7j (ORCPT ); Fri, 20 Apr 2012 14:59:39 -0400 Date: Fri, 20 Apr 2012 20:58:36 +0200 From: Oleg Nesterov To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Andrew Morton , Linus Torvalds , Ananth N Mavinakayanahalli , Jim Keniston , LKML , Linux-mm , Andi Kleen , Christoph Hellwig , Steven Rostedt , Arnaldo Carvalho de Melo , Masami Hiramatsu , Thomas Gleixner , Anton Arapov Subject: Re: [RFC 0/6] uprobes: kill uprobes_srcu/uprobe_srcu_id Message-ID: <20120420185836.GB2236@redhat.com> References: <1334409396.2528.100.camel@twins> <20120414205200.GA9083@redhat.com> <1334487062.2528.113.camel@twins> <20120415195351.GA22095@redhat.com> <1334526513.28150.23.camel@twins> <20120415234401.GA32662@redhat.com> <1334571419.28150.30.camel@twins> <20120416214707.GA27639@redhat.com> <1334916861.2463.50.camel@laptop> <20120420101644.GA17994@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120420101644.GA17994@linux.vnet.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20, Srikar Dronamraju wrote: > > Yes, We install breakpoints unconditionally, I think we had already > discussed this and Oleg had proposed a solution too. > http://lkml.org/lkml/2011/6/16/470 where we move the mm struct from task > struct to signal struct. Yes, this too. Hmm. May be we can do something else? Currently uprobe_consumer->filter() returns a boolean. Perhaps it can return "yes" || "no" || "remove_bp" ? But then another uprobe_register(same_addr) should handle this case somehow. Just a crazy idea, unlikely it makes sense. Oleg. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx109.postini.com [74.125.245.109]) by kanga.kvack.org (Postfix) with SMTP id 23DDD6B004D for ; Fri, 20 Apr 2012 14:59:33 -0400 (EDT) Date: Fri, 20 Apr 2012 20:58:36 +0200 From: Oleg Nesterov Subject: Re: [RFC 0/6] uprobes: kill uprobes_srcu/uprobe_srcu_id Message-ID: <20120420185836.GB2236@redhat.com> References: <1334409396.2528.100.camel@twins> <20120414205200.GA9083@redhat.com> <1334487062.2528.113.camel@twins> <20120415195351.GA22095@redhat.com> <1334526513.28150.23.camel@twins> <20120415234401.GA32662@redhat.com> <1334571419.28150.30.camel@twins> <20120416214707.GA27639@redhat.com> <1334916861.2463.50.camel@laptop> <20120420101644.GA17994@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120420101644.GA17994@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Andrew Morton , Linus Torvalds , Ananth N Mavinakayanahalli , Jim Keniston , LKML , Linux-mm , Andi Kleen , Christoph Hellwig , Steven Rostedt , Arnaldo Carvalho de Melo , Masami Hiramatsu , Thomas Gleixner , Anton Arapov On 04/20, Srikar Dronamraju wrote: > > Yes, We install breakpoints unconditionally, I think we had already > discussed this and Oleg had proposed a solution too. > http://lkml.org/lkml/2011/6/16/470 where we move the mm struct from task > struct to signal struct. Yes, this too. Hmm. May be we can do something else? Currently uprobe_consumer->filter() returns a boolean. Perhaps it can return "yes" || "no" || "remove_bp" ? But then another uprobe_register(same_addr) should handle this case somehow. Just a crazy idea, unlikely it makes sense. Oleg. -- 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