[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
interrupt&syscall
Hi,
I have the following doubts : while in a system call and when
holding kernel_lock or a semaphore(down(..)), if an interrupt comes what
will happen? the task will be preempted or the interrupt will not be
handled? WRT x86, it has only cli and sti, so how the concept of
"raising the interrupt priority level" is handled? also what stack is used
when in interrupt?
---
sourav
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml