static inline int testandset(int *spinlock)
testandset (int *spinlock)
static inline int testandset(int *spinlock){  int ret;  __asm__ __volatile__("ldstub %1,%0"	: "=r"(ret), "=m"(*spinlock)	: "m"(*spinlock));  return ret;}