On Mon, 18 Mar 2002, Guruprasad Baskaran wrote: > while reading the source of the open system call I encountered > the following macro in a function kmem_cache_alloc > #define local_irq_save(x) __asm__ __volatile__ ("pushfl; > popl %0; cli; ":"=g"(x)::"memory") It saves eflags and then disables interrupts, the saving of eflags is in order to restore the interrupt flag (IF bit in eflags) status upon return with local_irq_restore. So eflags gets saved in 'x' Zwane -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/