lkml.org 
[lkml]   [2020]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 15/16] objtool: Implement noinstr validation
On Mon, Mar 16, 2020 at 05:48:27PM +0100, Peter Zijlstra wrote:
> On Mon, Mar 16, 2020 at 11:19:04AM -0500, Josh Poimboeuf wrote:
> > On Mon, Mar 16, 2020 at 02:24:19PM +0100, Peter Zijlstra wrote:
> > > > And "read_instr_hints" reads as "read_instruction_hints()".
> > > >
> > > > Can we come up with a more readable name? Why not just "notrace"?
> > > >
> > > > The trace begin/end annotations could be
> > > >
> > > > trace_allow_begin()
> > > > trace_allow_end()
> > >
> > > notrace already exists and we didn't want to confuse things further.
> >
> > Um, why would it confuse things to call a section of notrace code
> > ".notrace.text"???
>
> Because it is strictly stronger than the notrace attribute is. And we
> certainly don't want all that is now marked notrace to end up there.

Ok, I must have misunderstood, I thought it was *all* notrace code going
in there.

I still hope we can come up with a better name.

--
Josh

\
 
 \ /
  Last update: 2020-03-16 20:23    [W:1.054 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site