Hi Grissiom,
On Mon, Oct 21, 2013 at 7:39 AM, Grissiom <chaos.proton@xxxxxxxxx> 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.On Mon, Oct 21, 2013 at 7:39 AM, Grissiom <chaos.proton@xxxxxxxxx> 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.
So no.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies