Re: [tip:x86/timers] sched/clock: Enable sched clock early

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > -       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
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux