Re: UML time-travel warning from __run_timers

2022-04-03 Thread Thomas Gleixner
On Sat, Apr 02 2022 at 16:09, Johannes Berg wrote: > At init, we get > > init_timer_cpu(0) base 0 clk=0x8ad0, next_expiry=0x13fff8acf > init_timer_cpu(0) base 1 clk=0x8ad0, next_expiry=0x13fff8acf > > which makes sense, jiffies is set up to wrap very quickly after boot. > > The warning trig

Re: UML time-travel warning from __run_timers

2022-04-03 Thread Johannes Berg
On Sun, 2022-04-03 at 18:18 +0200, Thomas Gleixner wrote: > On Sat, Apr 02 2022 at 16:09, Johannes Berg wrote: > > At init, we get > > > > init_timer_cpu(0) base 0 clk=0x8ad0, next_expiry=0x13fff8acf > > init_timer_cpu(0) base 1 clk=0x8ad0, next_expiry=0x13fff8acf > > > > which makes sens

Re: UML time-travel warning from __run_timers

2022-04-03 Thread Johannes Berg
On Sun, 2022-04-03 at 19:13 +0200, Johannes Berg wrote: > On Sun, 2022-04-03 at 18:18 +0200, Thomas Gleixner wrote: > > On Sat, Apr 02 2022 at 16:09, Johannes Berg wrote: > > > At init, we get > > > > > > init_timer_cpu(0) base 0 clk=0x8ad0, next_expiry=0x13fff8acf > > > init_timer_cpu(0) base

Re: UML time-travel warning from __run_timers

2022-04-03 Thread Thomas Gleixner
On Sun, Apr 03 2022 at 19:13, Johannes Berg wrote: > On Sun, 2022-04-03 at 18:18 +0200, Thomas Gleixner wrote: >> On Sat, Apr 02 2022 at 16:09, Johannes Berg wrote: > There was no timer. If there's ever a timer on this base (BASE_DEF) then > this doesn't happen. You said: >> > init_timer_cpu(0) b

Re: UML time-travel warning from __run_timers

2022-04-03 Thread Thomas Gleixner
Johannes, On Sun, Apr 03 2022 at 19:19, Johannes Berg wrote: > Actually, in a sense, this *is* the case of (just) recalculating > next_expiry, no? We just never set next_expiry_recalc since there was > never any timer on this? why are you insisting on fishing in the dark? > So actually this als