Re: [PATCH 1/1] sched/clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-03-28 Thread Chang-An Chen
On Mon, 2019-03-25 at 21:54 +0800, Thomas Gleixner wrote: > On Mon, 25 Mar 2019, Chang-An Chen wrote: > > --- a/include/linux/sched_clock.h > > +++ b/include/linux/sched_clock.h > > @@ -13,6 +13,10 @@ > > > > extern void sched_clock_register(u64 (*read)(void), int bits, > >

Re: [PATCH 1/1] sched/clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-03-25 Thread Thomas Gleixner
On Mon, 25 Mar 2019, Chang-An Chen wrote: > --- a/include/linux/sched_clock.h > +++ b/include/linux/sched_clock.h > @@ -13,6 +13,10 @@ > > extern void sched_clock_register(u64 (*read)(void), int bits, >unsigned long rate); > + > +extern int sched_clock_suspend(voi