Re: synchronization without hardware support ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux