lkml.org 
[lkml]   [2015]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [WARNING] CPU: 27 PID: 6295 at kernel/sched/core.c:7300 __might_sleep+0xbd/0xd0()
From
On Wed, Feb 4, 2015 at 1:57 AM, Jinpu Wang <jinpu.wang@profitbricks.com> wrote:
> Hi,
>
> I hit WARNING below after update to 3.19-rc6, when I running fio with libaio.
> Any one see this warning before, or maybe know how to fix it?
>
> From the call trace:
> (gdb) list *read_events+0x1e8
> 0xffffffff81225ad8 is in read_events (fs/aio.c:1259).
> 1254 * something to be aware of when touching this code.
> 1255 */
> 1256 if (until.tv64 == 0)
> 1257 aio_read_events(ctx, min_nr, nr, event, &ret);
> 1258 else
> 1259 wait_event_interruptible_hrtimeout(ctx->wait,
> 1260 aio_read_events(ctx, min_nr, nr, event, &ret),
> 1261 until);
> 1262
> 1263 if (!ret && signal_pending(current))
> (gdb)
>
> looks like the WARNING come from wait_event_interruptible_hrtimeout?

Probably fixed by:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=3e87523897e18a3e17fc8955ed795188be737ff1


\
 
 \ /
  Last update: 2015-02-05 08:01    [W:0.057 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site