Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

From: Jiri Kosina
Date: Fri Sep 25 2015 - 09:14:13 EST

On Fri, 25 Sep 2015, Sedat Dilek wrote:

> > The sequence looks correct. So I don't really see what call sequence could
> > lead to calling flush_work() from __cancel_work_timer() with IRQs
> > disabled (which is what your stacktrace is suggesting).
> >
> > The fact that this doesn't happen with GCC-compiled kernels is really
> > suspicious.
> >
> Hm, and now?

I guess one of the things to try is to generate ftrace graph trace to see
what exact function sequence leads to this warning.

Jiri Kosina

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at