lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: timer code oops when calling mod_delayed_work
Hello, Jeff.

On Tue, Nov 03, 2015 at 12:55:04PM -0500, Jeff Layton wrote:
> > Ok, I built a kernel with that patch reverted and that seems to fix the
> > problem.
> >
> > Looking at the patch, I guess the main difference is that we're no
> > longer using add_timer for unbound workqueue tasks. That said, we
> > should have possession of the PENDING bit before calling add_timer_on.
> >
> > So...I'm a little stumped. Any thoughts as to where the race could be?
>
> Ok, I've been able to reproduce this with a small module that I wrote
> as a reproducer:

I think I know what's going on. Looks like a bug in timer code when
timers are queued on a different cpu than before. Will experiment
with it a bit and report back.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-11-04 00:21    [W:0.116 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site