[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130308060341.GB4029@in.ibm.com>
Date: Fri, 8 Mar 2013 11:33:41 +0530
From: Ananth N Mavinakayanahalli <ananth@...ibm.com>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: oskar.andero@...ymobile.com, linux-kernel@...r.kernel.org,
davem@...emloft.net, anil.s.keshavamurthy@...el.com,
radovan.lekanovic@...ymobile.com,
� <bjorn.davidsson@...ymobile.com>@thinktux.in.ibm.com
Subject: Re: [PATCH] Kprobes blacklist: Conditionally add x86-specific
symbols
On Fri, Mar 08, 2013 at 01:23:25PM +0900, Masami Hiramatsu wrote:
> (2013/03/07 19:44), oskar.andero@...ymobile.com wrote:
> > From: Bjorn Davidsson <bjorn.davidsson@...ymobile.com>
> >
> > The kprobes blacklist contains x86-specific symbols.
> > Looking for these in kallsyms takes unnecessary time
> > during startup on non-X86 platform.
> > Added #ifdef CONFIG_X86 around them.
>
> Right. however, it might be better break that into
> common and arch-specific lists, because there may be
> other arch-specific non-probe-able functions on each
> architecture...
Agreed. CONFIG_<arch> in kernel/* is not the right thing to do IMO.
You are moving the blacklist initialization to later in the next patch,
so how much overhead will it then be?
Ananth
--
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