[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120330130530.GA16319@redhat.com>
Date: Fri, 30 Mar 2012 15:05:30 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Jim Keniston <jkenisto@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux-mm <linux-mm@...ck.org>, Andi Kleen <andi@...stfloor.org>,
Christoph Hellwig <hch@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 2/2] uprobes/core: counter to optimize probe hits.
On 03/21, Srikar Dronamraju wrote:
>
> + * uprobe_munmap() decrements the count if
> + * - it sees a underlying breakpoint, (via is_swbp_at_addr)
> + * (Subsequent unregister_uprobe wouldnt find the breakpoint
> + * unless a uprobe_mmap kicks in, since the old vma would be
> + * dropped just after uprobe_munmap.)
> + *
> + * register_uprobe increments the count if:
> + * - it successfully adds a breakpoint.
> + *
> + * unregister_uprobe decrements the count if:
Cosmetic nit, register_uprobe/unregister_uprobe do not exist.
uprobe_register/unregister.
Oleg.
--
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