Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756783AbbBEImi (ORCPT ); Thu, 5 Feb 2015 03:42:38 -0500 Received: from mail-we0-f180.google.com ([74.125.82.180]:36485 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755970AbbBEImh convert rfc822-to-8bit (ORCPT ); Thu, 5 Feb 2015 03:42:37 -0500 MIME-Version: 1.0 In-Reply-To: References: From: Jinpu Wang Date: Thu, 5 Feb 2015 09:42:15 +0100 Message-ID: Subject: Re: [WARNING] CPU: 27 PID: 6295 at kernel/sched/core.c:7300 __might_sleep+0xbd/0xd0() To: Cong Wang Cc: "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1510 Lines: 48 Thanks Cong, I found another thread: https://lkml.org/lkml/2015/2/3/690 Looks the patch fix the same WARNING. On Thu, Feb 5, 2015 at 7:33 AM, Cong Wang wrote: > On Wed, Feb 4, 2015 at 1:57 AM, Jinpu Wang 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 -- Mit freundlichen Grüßen, Best Regards, Jack Wang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/