barrier()

Shraddha Kamat sh2008ka at gmail.com
Mon Feb 25 01:56:06 EST 2013


#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 ?





More information about the Kernelnewbies mailing list