queuecommand called in IRQ run level
Hi All,
Is it possible that queuecommand be called in ISR time ? (IRQ run level)
I want to do kmalloc with GFP_KERNEL priority in queuecommand (or actually pci_pool_alloc which eventually will call kmalloc in pool getting low in memory).
Thank you,
Rabeeh
Quoted 6 lines · Rabeeh Khoury
Hi All,
Is it possible that queuecommand be called in ISR time ? (IRQ run level) I want to do kmalloc with
GFP_KERNELpriority in queuecommand (or actuallypci_pool_allocwhich eventually will call kmalloc in pool getting low in memory).
You cannot use GFP_KERNEL in this situation - it may block, it may cause further I/O.