Skip to contentSkip to conversation

modularized SYSENTER support

DISCUSSION Manfred Spraul 1 participant 1 message May 4, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines

Q. How come the handler doesn't manage so called "bottom halves" or
"soft IRQs"?
A. There is no need for this. Soft IRQs can only appear at exit from
hardware interrupt handlers. Indeed, we can't count on user app. being around and performing a system call when it comes to interrupt handling, right?

That's probably a bug.
syscall
* spin_lock_bh()
* hardware interrupt arrives
* BH's are blocked, delayed
* spin_unlock_bh()
* return from syscall.

You must check for softirq's before returning.

--
Manfred