>>>>> "pankaj" == pankaj chauhan <chauhan_ait@yahoo.co.in> writes: pankaj> what for processors that use store buffer and partial pankaj> store ordering . if i do'nt have any hardware support pankaj> for atomic operation (some test-and-set operation , or pankaj> lock prefix or what ever..) how can i ensure the pankaj> atomicity of any operation ( such as gaining of spin pankaj> lock). If you have a relaxed memory model then you have at least memory barriers. ~velco -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/