All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Cc: Alexander Hoogerhuis <alexh@ihatent.com>
Subject: Re: Sleeping in illegal context with 2.5.65-mm2
Date: Wed, 19 Mar 2003 20:39:32 -0800	[thread overview]
Message-ID: <20030320043931.GC18787@kroah.com> (raw)
In-Reply-To: <87fzpi217i.fsf@lapper.ihatent.com>

On Thu, Mar 20, 2003 at 03:58:41AM +0100, Alexander Hoogerhuis wrote:
> Caught this one while booting my laptop:
> 
> drivers/usb/core/usb.c: registered new driver hci_usb
> Module bluetooth cannot be unloaded due to unsafe usage in include/linux/module.h:457
> Debug: sleeping function called from illegal context at mm/slab.c:1723
> Call Trace:
>  [<c0119d92>] __might_sleep+0x5f/0x65
>  [<c013a097>] kmalloc+0x88/0x8f
>  [<c0238111>] usb_alloc_urb+0x21/0x51
>  [<f09180bc>] hci_usb_enable_intr+0x20/0xf8 [hci_usb]

The call to usb_alloc_urb() here is being done with the GFP_ATOMIC flag,
which is correct.  Do we need to fix up the warning message to prevent
false positives like this from happening?

thanks,

greg k-h

  reply	other threads:[~2003-03-20  4:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20  2:58 Sleeping in illegal context with 2.5.65-mm2 Alexander Hoogerhuis
2003-03-20  4:39 ` Greg KH [this message]
2003-03-20  5:03   ` Kai Germaschewski
2003-03-20  5:05     ` Greg KH
2003-03-24 21:44       ` Max Krasnyansky

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=20030320043931.GC18787@kroah.com \
    --to=greg@kroah.com \
    --cc=alexh@ihatent.com \
    --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 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.