[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190826112406.GR2369@hirez.programming.kicks-ass.net>
Date: Mon, 26 Aug 2019 13:24:06 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Dietmar Eggemann <dietmar.eggemann@....com>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Douglas RAILLARD <douglas.raillard@....com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
viresh.kumar@...aro.org, mingo@...hat.com
Subject: Re: [PATCH] sched/cpufreq: Align trace event behavior of fast
switching
On Mon, Aug 26, 2019 at 11:51:17AM +0200, Dietmar Eggemann wrote:
> Not sure about the extra 'if trace_cpu_frequency_enabled()' but I guess
> it doesn't hurt.
Without that you do that for_each_cpu() iteration unconditionally, even
if the tracepoint is disabled.
Powered by blists - more mailing lists