Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-28 Thread Muchun Song
Hi tglx, I'm sorry. Thanks for your reminder. Thomas Gleixner 于2018年11月28日周三 下午11:15写道: > > Song, > > On Wed, 21 Nov 2018, Thomas Gleixner wrote: > > On Tue, 20 Nov 2018, Muchun Song wrote: > > > Follow the current code logic, the timer0 function is called until the > > > function call of timer1

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-28 Thread Thomas Gleixner
Song, On Wed, 21 Nov 2018, Thomas Gleixner wrote: > On Tue, 20 Nov 2018, Muchun Song wrote: > > Follow the current code logic, the timer0 function is called until the > > function call of timer1-5 is completed. So the delay of timer0 is the time > > spent by other timer function calls. If we can c

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-21 Thread Thomas Gleixner
Song, On Tue, 20 Nov 2018, Muchun Song wrote: > John Stultz 于2018年11月20日周二 上午2:16写道: > > > > On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > > > The elements of the heads array are a linked list of timer events that > > > expire at the current time. And it can contain up to LVL_DEPTH level

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-19 Thread Muchun Song
Hi John, Thanks for your review. John Stultz 于2018年11月20日周二 上午2:16写道: > > On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > > The elements of the heads array are a linked list of timer events that > > expire at the current time. And it can contain up to LVL_DEPTH levels > > and the lower th

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-19 Thread John Stultz
On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > The elements of the heads array are a linked list of timer events that > expire at the current time. And it can contain up to LVL_DEPTH levels > and the lower the level represents the smaller the time granularity. > > Now the result is that the

[PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-19 Thread Muchun Song
The elements of the heads array are a linked list of timer events that expire at the current time. And it can contain up to LVL_DEPTH levels and the lower the level represents the smaller the time granularity. Now the result is that the function, which will be called when the timer expires, in the