Re: [PATCH] um: time-travel: fix time going backwards

2023-10-25 Thread Johannes Berg
On Wed, 2023-10-25 at 22:02 +0200, Johannes Berg wrote: > On Wed, 2023-10-25 at 21:51 +0200, Johannes Berg wrote: > > On Wed, 2023-10-25 at 11:55 +, Vincent Whitchurch wrote: > > > On Mon, 2023-10-23 at 09:33 +0200, Johannes Berg wrote: > > > > Do you have a specific workload that tends to repr

Re: [PATCH] um: time-travel: fix time going backwards

2023-10-25 Thread Johannes Berg
On Wed, 2023-10-25 at 21:51 +0200, Johannes Berg wrote: > On Wed, 2023-10-25 at 11:55 +, Vincent Whitchurch wrote: > > On Mon, 2023-10-23 at 09:33 +0200, Johannes Berg wrote: > > > Do you have a specific workload that tends to reproduce this? > > > > I've been seeing it when running roadtest,

Re: [PATCH] um: time-travel: fix time going backwards

2023-10-25 Thread Johannes Berg
On Wed, 2023-10-25 at 11:55 +, Vincent Whitchurch wrote: > On Mon, 2023-10-23 at 09:33 +0200, Johannes Berg wrote: > > Do you have a specific workload that tends to reproduce this? > > I've been seeing it when running roadtest, but it's easily reproducible > without that by using the attached

Re: [PATCH] um: time-travel: fix time going backwards

2023-10-25 Thread Vincent Whitchurch
On Mon, 2023-10-23 at 09:33 +0200, Johannes Berg wrote: > Do you have a specific workload that tends to reproduce this? I've been seeing it when running roadtest, but it's easily reproducible without that by using the attached config and the following program as init. cp repro.config .config

Re: [PATCH] um: time-travel: fix time going backwards

2023-10-23 Thread Johannes Berg
On Mon, 2023-10-23 at 07:08 +, Vincent Whitchurch wrote: > On Fri, 2023-10-20 at 16:47 +0200, Vincent Whitchurch wrote: > > In basic time travel mode, I sometimes see "time goes backwards" panics > > like the one below: > > > >  Kernel panic: time-travel: time goes backwards 16168934492 ->

Re: [PATCH] um: time-travel: fix time going backwards

2023-10-23 Thread Vincent Whitchurch
On Fri, 2023-10-20 at 16:47 +0200, Vincent Whitchurch wrote: > In basic time travel mode, I sometimes see "time goes backwards" panics > like the one below: > >  Kernel panic: time-travel: time goes backwards 16168934492 -> > 161689339869814 >  Call Trace: >   panic+0x1a1/0x3d7 >   time_trave

[PATCH] um: time-travel: fix time going backwards

2023-10-20 Thread Vincent Whitchurch
In basic time travel mode, I sometimes see "time goes backwards" panics like the one below: Kernel panic: time-travel: time goes backwards 16168934492 -> 161689339869814 Call Trace: panic+0x1a1/0x3d7 time_travel_update_time.cold+0xe9/0x133 timer_read+0xc1/0x100 ktime_get+0x10c/0x200