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