Re: BUG: sleeping function called from illegal context

Jaroslav Kysela (perex@perex.cz)
Mon, 14 Apr 2003 09:28:48 +0200 (CEST)


On Sun, 13 Apr 2003, Daniel Ritz wrote:

> i saw that one after modprobe snd-sb16...
> kernel 2.5.67-bk
>
> rgds
> -daniel
>
>
> Debug: sleeping function called from illegal context at mm/slab.c:1664
> Call Trace:
> [<c0120777>] __might_sleep+0x5f/0x68
> [<c0148f35>] kmalloc+0x61/0x174
> [<c01292f7>] __request_region+0x1b/0xb4
> [<c01293aa>] __check_region+0x1a/0x40
> [<c01dc533>] pnp_check_port+0x5f/0x13c

Adam, could you consider to use mutexes rather than spinlocks in your
code? I think that the pnp configuration is not time critical.

Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-
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/