[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4mn32j3ppdhh4xtvjs4bxaskgoc27ldpap4j6676p7uhsuzuzk@gbq2xb35aki6>
Date: Tue, 3 Dec 2024 11:01:25 +0100
From: Michal Koutný <mkoutny@...e.com>
To: Yafang Shao <laoar.shao@...il.com>
Cc: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com, rostedt@...dmis.org,
bsegall@...gle.com, mgorman@...e.de, vschneid@...hat.com, hannes@...xchg.org,
surenb@...gle.com, cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 1/4] sched: Define sched_clock_irqtime as static key
On Fri, Nov 08, 2024 at 09:29:01PM GMT, Yafang Shao <laoar.shao@...il.com> wrote:
> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index 081519ffab46..0c83ab35256e 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
...
> +#else
> +
> +static inline int irqtime_enabled(void)
> +{
> + return 0;
> +}
> +
You can reuse the removed macro here:
BTW, have you measured whether this change has an effect above rounding
error?
But generally,
Reviewed-by: Michal Koutný <mkoutny@...e.com>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists