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: pgpYDJoYxqUZ5.pgp
Description: PGP signature

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

Reply via email to