[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1310999476.13765.107.camel@twins>
Date: Mon, 18 Jul 2011 16:31:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@...e.hu>, Steven Rostedt <rostedt@...dmis.org>,
Linux-mm <linux-mm@...ck.org>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Hugh Dickins <hughd@...gle.com>,
Christoph Hellwig <hch@...radead.org>,
Jonathan Corbet <corbet@....net>,
Thomas Gleixner <tglx@...utronix.de>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Oleg Nesterov <oleg@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Jim Keniston <jkenisto@...ux.vnet.ibm.com>,
Roland McGrath <roland@...k.frob.com>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v4 3.0-rc2-tip 7/22] 7: uprobes: mmap and fork hooks.
On Mon, 2011-07-18 at 14:50 +0530, Srikar Dronamraju wrote:
> * - Introduce uprobes_list and uprobes_vaddr in vm_area_struct.
> * uprobes_list is a node in the temp list of vmas while
> * registering/unregistering uprobes. uprobes_vaddr caches the vaddr to
> * insert/remove the breakpoint.
> *
> * - Introduce srcu to synchronize vma deletion with walking the list of
> * vma in register/unregister_uprobe.
I don't think you can sell this, that'll make munmap() horridly slow.
> * - Introduce uprobes_mmap_mutex to synchronize uprobe deletion and
> * mmap_uprobe().
Yes, that'll work I think.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists