Messages in this thread | | | From | Pavel Tatashin <> | Date | Mon, 30 Jul 2018 09:44:41 -0400 | Subject | Re: [tip:x86/timers] sched/clock: Enable sched clock early |
| |
> > - if (cd.actual_read_sched_clock == jiffy_sched_clock_read) > > + if (cd.actual_read_sched_clock == jiffy_sched_clock_read) { > > + local_irq_disable(); > > sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ); > > + local_irq_enable(); > > + } > > > > update_sched_clock(); > > I'm thinking maybe disable IRQs for that entire function, instead of > just the register call.
Sure, I will send a patch.
Thank you, Pavel
| |