Feb. 25, 2013
6:56 a.m.
#define barrier() asm volatile("" ::: "memory") What exactly volatile("" ::: "memory") doing here ? I was referring to gnu as (ver 2.14) manual but could not get much clue about this assembly construct - any pointers ?
Feb. 25, 2013
7:25 a.m.
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...
4918
Age (days ago)
4918
Last active (days ago)
1 comments
2 participants
participants (2)
-
Shraddha Kamat -
Valdis.Kletnieks@vt.edu