Re: why is it necessary that irqs are disabled to preempt?

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

 



On Mon, Aug 16, 2010 at 14:48, Parmenides <mobile.parmenides@xxxxxxxxx> wrote:
> The if statement checks whether irqs are enabled. If so, the
> preemption will be carried out. I wonder why this check is necessary.
> Why preemption is prohibited with irqs disabled?

Because that likely means we are running on behalf of something
"atomic" that must go uninterrupted and stay in constant path?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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