Why is flags being backed up before calling cli

C K Kashyap ckkashyap at gmail.com
Fri Jan 21 02:00:43 EST 2011


Hi,
I noticed that the flags register is being stored before doing 'cli' and
then restored after calling 'sti'. - eg. in local_irq_save and
local_irq_restore
Can someone tell me the scenario that is being guarded against by backing up
flags?
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110121/2401a62d/attachment.html 


More information about the Kernelnewbies mailing list