Can Linux kernel do context switch when the interrupt is disabled?
Oct. 21, 2013
2:39 p.m.
Hi all, Can Linux kernel do context switching when the interrupt is disabled? I am learning the code in ARM platform but I think this question might be arch-independent. -- Cheers, Grissiom
Oct. 21, 2013
3:57 p.m.
Hi Grissiom, On Mon, Oct 21, 2013 at 7:39 AM, Grissiom <chaos.proton@gmail.com> wrote:
Hi all,
Can Linux kernel do context switching when the interrupt is disabled? I
am learning the code in ARM platform but I think this question might be arch-independent. You're not allowed to perform any blocking operations while interupts are disabled. Anything that context switches would be considered a blocking operation. So no. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com
4681
Age (days ago)
4681
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dave Hylands -
Grissiom