Sv: Sv: [PATCH] hrtimer: Interrupt storm on clock_settime

2021-02-25 Thread Mikael Beckius
> The proposed change breaks the reprogramming logic. To keep it working > cpu_base::*expires_next is only updated by hrtimer_reprogram() and > hrtimer_interrupt(). I will send you a patch for testing in reply to this > thread. The patch is compile tested only. > Ok. I kind of guessed that would b

Sv: [PATCH] hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()

2021-02-25 Thread Mikael Beckius
> Micke, please test this patch - it is compile tested only... Thanks Anna-Maria, it seems to work equally good or better than the change I suggested in preventing interrupt storms. After running a test I created, based on traces from a live system, several thousands of iterations there are no rep

[tip: timers/urgent] hrtimer: Update softirq_expires_next correctly in hrtimer_force_reprogram()

2021-02-09 Thread tip-bot2 for Mikael Beckius
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 0fcc7c20d2e2a65fb5b80d42841084e8509d085d Gitweb: https://git.kernel.org/tip/0fcc7c20d2e2a65fb5b80d42841084e8509d085d Author:Mikael Beckius AuthorDate:Thu, 28 Jan 2021 15:02:08 +01:00

[PATCH] hrtimer: Interrupt storm on clock_settime

2021-01-28 Thread Mikael Beckius
. Signed-off-by: Mikael Beckius --- kernel/time/hrtimer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 743c852e10f2..e4c233f404b1 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -633,7 +633,7