All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Krause <xerofoify@gmail.com>
To: lkp@lists.01.org
Subject: Re: [setsockopt] WARNING: CPU: 0 PID: 1444 at kernel/sched/core.c:7088 __might_sleep+0x51/0x16f()
Date: Wed, 06 Aug 2014 09:52:51 -0400	[thread overview]
Message-ID: <CAPDOMVi_b3tmSAEdhQo6UviAhi_Tx9BfjZ-jP851OSOQztN_yg@mail.gmail.com> (raw)
In-Reply-To: <20140805215434.GA10047@localhost>

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

On Tue, Aug 5, 2014 at 5:54 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> On Wed, Aug 06, 2014 at 05:46:24AM +0800, Fengguang Wu wrote:
>> Greetings,
>>
>> Here is a microcode/load_module error triggered by debug check commit
>
> Sorry for the copy&paste error! This warning is not related to
> microcode/load_module..
>
> Thanks,
> Fengguang
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo(a)vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
Hey Fenngaug,
I looking through this trace.

213 skb = kmem_cache_alloc_node(cache, gfp_mask & ~__GFP_DMA, node);
214 if (!skb)
215 goto out;
This lines seem to be an issue as after tracing to were you are
getting a warning,
might_sleep is written as

might_sleep_if(flags & __GFP_WAIT);
This means that the flag for GFP_WAIT is probably set and sure enough you would
be getting an error after sleeping in __alloc_skb.
Regards Nick

  reply	other threads:[~2014-08-06 13:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 21:46 [setsockopt] WARNING: CPU: 0 PID: 1444 at kernel/sched/core.c:7088 __might_sleep+0x51/0x16f() Fengguang Wu
2014-08-05 21:46 ` Fengguang Wu
2014-08-05 21:54 ` Fengguang Wu
2014-08-05 21:54   ` Fengguang Wu
2014-08-06 13:52   ` Nick Krause [this message]
2014-08-07 15:17 ` Peter Zijlstra
2014-08-07 15:17   ` Peter Zijlstra
2014-08-07 16:59   ` chas williams - CONTRACTOR
2014-08-07 16:59     ` chas williams - CONTRACTOR
2014-08-07 17:25     ` Peter Zijlstra
2014-08-07 17:25       ` Peter Zijlstra
2014-08-07 17:29       ` Peter Zijlstra
2014-08-07 17:29         ` Peter Zijlstra
2014-08-12 12:12         ` [PATCH] atm/svc: Fix blocking in wait loop chas williams - CONTRACTOR
2014-08-12 12:12           ` chas williams - CONTRACTOR
2014-08-12 22:02           ` David Miller
2014-08-12 22:02             ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPDOMVi_b3tmSAEdhQo6UviAhi_Tx9BfjZ-jP851OSOQztN_yg@mail.gmail.com \
    --to=xerofoify@gmail.com \
    --cc=lkp@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.