[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201031112340.GU2594@hirez.programming.kicks-ass.net>
Date: Sat, 31 Oct 2020 12:23:40 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Jesper Dangaard Brouer <brouer@...hat.com>, mingo@...nel.org,
linux-kernel@...r.kernel.org, kan.liang@...ux.intel.com,
acme@...nel.org, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, ak@...ux.intel.com, eranian@...gle.com
Subject: Re: [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.
Powered by blists - more mailing lists