[lkml]   [2003]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.63: 'Debug: sleeping function called from illegal context at mm/slab.c:1617'
On Sun, 2003-03-02 at 12:22, Benjamin Herrenschmidt wrote:
> > Well... it's a bug in _all_ archs. They (almost) all call the proc
> > stuff from request_irq, and worse, on x86, I think, has the
> > kmalloc inside request_irq changed to GFP_ATOMIC.
> I meant "Only" x86 does GFP_ATOMIC

The IDE layer needs to obtain the IRQ with interrupts disabled. It
isnt alone in that either. I can't guarantee to mask the IRQ
because not all supported hardware has working irq masking.
disable/enable_irq on unallocated interrupts is undefined, and
does not work on at least one supported platform at all.

Unfortunately ten years ago someone created 'register_and_activate_irq'
calling it 'register_irq', and it hasn't yet been fixed.

So its up to the arch maintainers to fix it, or they don't
get IDE support 8)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.040 / U:24.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site