Hi all, I was going through the code of __wait_event in sched.c [ kernel 2.2.19] and i came across a MACRO mb(), and it was defined in asm-i386/system.h as following #define mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory") I don't know what this MACRO does?? [ I actually don't know assembly ] Can anyone help me?? TIA Regards Ketan *** "In science one tries to tell people, in such a way as to be understood by everyone, something that no one ever knew before. But in poetry, it's the exact opposite. " - Paul Dirac (1902-1984) *** -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/