lkml.org 
[lkml]   [2020]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/6] perf: Optimize get_recursion_context()
On Fri, Oct 30, 2020 at 07:31:24PM -0400, Steven Rostedt wrote:

> Note, I thought that in_nmi() and friends was in interrupt.h, but is
> really in preempt.h. All the values used in Peter's code is also
> defined in preempt.h, so why not have something like that there?
>
> I take back adding it to interrupt.h but have it in preempt.h, as it's
> not defining anything new there.

Yeah, preempt.h is the right place for it.

\
 
 \ /
  Last update: 2020-10-31 12:25    [W:0.045 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site