Re: barrier()

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

 



On Mon, 25 Feb 2013 12:26:06 +0530, Shraddha Kamat said:
> #define barrier() asm volatile("" ::: "memory")
>
> What exactly volatile("" ::: "memory")  doing here ?

You probably should read Documentation/memory-barriers.txt
in your kernel source tree, and let us know if you still have
questions after that...

Attachment: pgpeU6I_TPOW3.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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