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