Thread (2 messages) 2 messages, 2 authors, 2013-10-21

Can Linux kernel do context switch when the interrupt is disabled?

From: Dave Hylands <hidden>
Date: 2013-10-21 15:57:33

Hi Grissiom,


On Mon, Oct 21, 2013 at 7:39 AM, Grissiom [off-list ref] 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131021/4785fd59/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help