Re: [RFC PATCH v2] clockevents: re-calculate event when cpu enter idle

2014-09-09 Thread Thomas Gleixner
On Thu, 4 Sep 2014, Leo Yan wrote: This changelog is pretty uncomprehensible, but I can see what you are trying to solve. > Below flow will have the redundant interrupts for broadcast timer: > > 1. Process A starts a hrtimer with 100ms timeout, then Process A will >wait on the waitqueue to s

Re: [RFC PATCH v2] clockevents: re-calculate event when cpu enter idle

2014-09-09 Thread Leo Yan
On 09/04/2014 09:25 AM, Leo Yan wrote: Below flow will have the redundant interrupts for broadcast timer: 1. Process A starts a hrtimer with 100ms timeout, then Process A will wait on the waitqueue to sleep; 2. The CPU which Process A runs on will enter idle and call notify CLOCK_EVT_NO

[RFC PATCH v2] clockevents: re-calculate event when cpu enter idle

2014-09-03 Thread Leo Yan
Below flow will have the redundant interrupts for broadcast timer: 1. Process A starts a hrtimer with 100ms timeout, then Process A will wait on the waitqueue to sleep; 2. The CPU which Process A runs on will enter idle and call notify CLOCK_EVT_NOTIFY_BROADCAST_ENTER, so the CPU will shutdo