netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090
@ 2005-04-10 20:49 Andrew Morton
  2005-04-10 21:47 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2005-04-10 20:49 UTC (permalink / raw)
  To: netdev; +Cc: avvisi


proto_register() is doing kmem_cache_create() inside write_lock().


Begin forwarded message:

Date: Sun, 10 Apr 2005 05:09:39 -0700
From: bugme-daemon@osdl.org
To: akpm@digeo.com
Subject: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090


http://bugme.osdl.org/show_bug.cgi?id=4467

           Summary: Debug: sleeping function called from invalid context at
                    mm/slab.c:2090
    Kernel Version: 2.6.12.rc2
            Status: NEW
          Severity: normal
             Owner: akpm@digeo.com
         Submitter: avvisi@spalletti.it


Distribution: Ubuntu 5.04
Hardware Environment: Asus M6Ne Laptop
Software Environment: gcc 3.3.5, libc6 2.3.2
Problem Description:
On startup, at ipv6 module loading dmesg prints this error:
Debug: sleeping function called from invalid context at mm/slab.c:2090
in_atomic():1, irqs_disabled():0
 [<c01160f6>] __might_sleep+0xa6/0xb0
 [<c01345dd>] load_module+0x8cd/0xb70
 [<c014463d>] kmem_cache_alloc+0x6d/0x70
 [<c0143740>] kmem_cache_create+0x100/0x5b0
 [<c02e4324>] proto_register+0xa4/0xd0
 [<e1bb00b9>] inet6_init+0x19/0x200 [ipv6]
 [<c0134a32>] sys_init_module+0x182/0x240
 [<c010319b>] sysenter_past_esp+0x54/0x75

I'll attach my config

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090
  2005-04-10 20:49 Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090 Andrew Morton
@ 2005-04-10 21:47 ` David S. Miller
  2005-04-10 22:05   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2005-04-10 21:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: netdev, avvisi

On Sun, 10 Apr 2005 13:49:34 -0700
Andrew Morton <akpm@osdl.org> wrote:

> 
> proto_register() is doing kmem_cache_create() inside write_lock().

Didn't you integrate Arnaldo's patch to fix this into -mm?
I was certain I got an ACK email back from your -mm automatic
thingy.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090
  2005-04-10 21:47 ` David S. Miller
@ 2005-04-10 22:05   ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2005-04-10 22:05 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, avvisi

"David S. Miller" <davem@davemloft.net> wrote:
>
> On Sun, 10 Apr 2005 13:49:34 -0700
> Andrew Morton <akpm@osdl.org> wrote:
> 
> > 
> > proto_register() is doing kmem_cache_create() inside write_lock().
> 
> Didn't you integrate Arnaldo's patch to fix this into -mm?

Seems I did.

> I was certain I got an ACK email back from your -mm automatic
> thingy.

This report is against 2.6.12-rc2.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-10 22:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-10 20:49 Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090 Andrew Morton
2005-04-10 21:47 ` David S. Miller
2005-04-10 22:05   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).