Why Disable all interrupts was allowed in kernel mode?

1 answer

Answer

1014482

2026-03-14 01:55

+ Follow

It usually doesn't. You may think of one of the followings:

1. When processing a higher priority interrupt, more interrupts with lower priority are not allowed.

2. During the context-switch (user-mode<->kernel-mode, entering/exiting interrupt/exception handler), interrupts may be disabled.

3. When in a critical operation (eg. manipulating shared data), interrupts may have to be disabled (for a very short time-interval).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.