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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

So no.

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux