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...
pgpYDJoYxqUZ5.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
