lkml.org 
[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: WARNING in hrtimer_forward
Date
On Sun, Sep 27 2020 at 16:04, Hillf Danton wrote:
> Sat, 26 Sep 2020 17:38:16 -0700
>
> Dunno if it's down to memory barrier.
>
> --- a/kernel/time/hrtimer.c
> +++ b/kernel/time/hrtimer.c
> @@ -929,7 +929,7 @@ u64 hrtimer_forward(struct hrtimer *time
> if (delta < 0)
> return 0;
>
> - if (WARN_ON(timer->state & HRTIMER_STATE_ENQUEUED))
> + if (WARN_ON(hrtimer_is_queued(timer)))
> return 0;

The point of that exercise is?

\
 
 \ /
  Last update: 2020-09-28 16:19    [W:0.073 / U:1.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site