public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG: sleeping function called from invalid context at mm/slub.c:1717
Date: Wed, 16 Sep 2009 08:53:59 +0200	[thread overview]
Message-ID: <20090916065359.GB23126@kernel.dk> (raw)
In-Reply-To: <alpine.LNX.2.00.0909151202560.17028@wotan.suse.de>

On Tue, Sep 15 2009, Jiri Kosina wrote:
> On Tue, 15 Sep 2009, Jens Axboe wrote:
> 
> > This is new with todays -git:
> > 
> > BUG: sleeping function called from invalid context at mm/slub.c:1717
> > in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper
> > Pid: 0, comm: swapper Not tainted 2.6.31 #206
> > Call Trace:
> >  <IRQ>  [<ffffffff8103eb23>] __might_sleep+0xf3/0x110
> >  [<ffffffff810e4d83>] kmem_cache_alloc+0x123/0x170
> >  [<ffffffff813306c9>] hid_input_report+0x89/0x3a0
> >  [<ffffffffa00cd5f4>] hid_ctrl+0xa4/0x1f0 [usbhid]
> >  [<ffffffff8108a4c7>] ? handle_IRQ_event+0xa7/0x1e0
> >  [<ffffffffa004da1f>] usb_hcd_giveback_urb+0x3f/0xa0 [usbcore]
> >  [<ffffffffa0074ab4>] uhci_giveback_urb+0xb4/0x240 [uhci_hcd]
> >  [<ffffffffa00750e7>] uhci_scan_schedule+0x357/0xab0 [uhci_hcd]
> >  [<ffffffffa0077a01>] uhci_irq+0x91/0x190 [uhci_hcd]
> >  [<ffffffffa004d44e>] usb_hcd_irq+0x2e/0x70 [usbcore]
> >  [<ffffffff8108a4c7>] handle_IRQ_event+0xa7/0x1e0
> >  [<ffffffff8108c58c>] handle_fasteoi_irq+0x7c/0xf0
> >  [<ffffffff8100f176>] handle_irq+0x46/0xa0
> >  [<ffffffff8100e49a>] do_IRQ+0x6a/0xf0
> >  [<ffffffff8100c853>] ret_from_intr+0x0/0xa
> > 
> > And I notice there's a HID merge from yesterday, Jiri CC'ed.
> 
> Thanks for letting me know. The patch below should fix it.

Yes that works, thanks Jiri!

-- 
Jens Axboe


  reply	other threads:[~2009-09-16  6:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15  8:54 BUG: sleeping function called from invalid context at mm/slub.c:1717 Jens Axboe
2009-09-15 10:10 ` Jiri Kosina
2009-09-16  6:53   ` Jens Axboe [this message]
2009-09-16  7:16   ` Minchan Kim
2009-09-21  9:17     ` Jiri Kosina

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=20090916065359.GB23126@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox