• Jens Axboe's avatar
    [PATCH] request_irq() use GFP_ATOMIC · 88a745f5
    Jens Axboe authored
    The might_sleep() thing caught ide, which calls request_irq() with a
    lock held. It can be argued that this is a bad thing, however I think it
    can also validly be argued that requesting an irq should not be a
    blocking operation. This might even remove some driver bugs where usage
    count is not incremented during init...
    
    It can also be argued, that the very first irq requests cannot be
    blocking for io anyways, for good reason :-)
    88a745f5
irq.c 23 KB