[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXku3CCCahFMBwp08P6Rh2bwYx6GZ8RMS2ASq1hcqMU7A@mail.gmail.com>
Date: Wed, 4 Feb 2015 22:33:21 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jinpu Wang <jinpu.wang@...fitbricks.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [WARNING] CPU: 27 PID: 6295 at kernel/sched/core.c:7300 __might_sleep+0xbd/0xd0()
On Wed, Feb 4, 2015 at 1:57 AM, Jinpu Wang <jinpu.wang@...fitbricks.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists