On Fri, Nov 08, 2024 at 09:29:02PM GMT, Yafang Shao <laoar.shao@xxxxxxxxx> wrote: > sched_clock_irqtime may be disabled due to the clock source, in which case > IRQ time should not be accounted. Let's add a conditional check to avoid > unnecessary logic. > > Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> > --- > kernel/sched/core.c | 44 +++++++++++++++++++++++--------------------- > 1 file changed, 23 insertions(+), 21 deletions(-) This is actually a good catch! Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>
Attachment:
signature.asc
Description: PGP signature