Skip to contentSkip to conversation

queuecommand called in IRQ run level

DISCUSSION Rabeeh Khoury 2 participants 2 messages Aug 24, 2003 – Aug 27, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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_KERNEL priority in queuecommand (or actually pci_pool_alloc which 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.