* Re: [tip:x86/mm] x86, mm, kprobes: fault.c, simplify notify_page_fault()
[not found] ` <20090222093109.GE6964@elte.hu>
@ 2009-02-23 16:57 ` Masami Hiramatsu
0 siblings, 0 replies; only message in thread
From: Masami Hiramatsu @ 2009-02-23 16:57 UTC (permalink / raw)
To: Ingo Molnar
Cc: Andrew Morton, hpa, mingo, torvalds, tglx, linux-kernel,
linux-tip-commits, systemtap-ml, Ananth N Mavinakayanahalli,
Jim Keniston
Hi Ingo,
Ingo Molnar wrote:
> another very small thing, while we are discussing kprobes:
>
> I always found that the __kprobes annotation is very confusingly
> euphemistic: what those annotations really mean is not
> 'kprobes', but 'no kprobes'.
As far as I know, __kprobes originally means 'this function will be
called from kprobes'. However, now many functions are tagged as
__kprobes, it might be confusingly.
> So how about renaming __kprobes to __nokprobes, similar to how
> we have the notrace attribute?
Would you mean that will include changing section name of
'.text.kprobes'? That's what I mind.
> We have about 350 __kprobes annotations in the kernel, so
> renaming it now would not be practical - but any objections
> against me sending Linus a rename patch somewhere late in the
> next merge window that just does this rename?
Just renaming __kprobes to __nokprobes seems good for me.
Thank you!
> [ likewise, i'll rename notrace to __notrace to make it visually
> less intrusive to the return value type. There's a lot less
> such annotations in the kernel. ]
>
> Ingo
> --
> 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/
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-23 16:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tip-b18018126f422f5b706fd750373425e10e84b486@kernel.org>
[not found] ` <499F383B.6060700@redhat.com>
[not found] ` <20090222093109.GE6964@elte.hu>
2009-02-23 16:57 ` [tip:x86/mm] x86, mm, kprobes: fault.c, simplify notify_page_fault() Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).