Call chain analysis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm running into an IRQ problem while removing USB adapters (e.g., when
pulling a PCMCIA card with an OHCI on it).

Specifically, this call chain
  usb_hcd_pci_remove -> hcd_buffer_destroy -> dma_pool_destroy
    -> pool_free_page -> free_hot_cold_page -> IRQ -> usb_hcd_irq
results in a crash. That's not the immediate problem, though.

The problem is that wrapping usb_hcd_pci_remove() in a local_irq_save/
/restore *still* allows that interrupt to happen. I suspect that something
in that call chain sometimes calls the scheduler ..?

I assume that there are nice tools which find that call for me, and save
me from plowing through a lot of kernel code ..? I've never needed one of
those before. :-/

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [email protected]


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux