Re: spin_lock forgets to clobber memory and other smp fixes [was

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Sep 07 2000 - 11:40:13 EST


On Thu, 7 Sep 2000 kuznet@ms2.inr.ac.ru wrote:

>BTW Look also into asm-i386/bitops.h and dummy cast to some crap there.
>Are you impressed? 8)

Yep 8). If we add "memory" such stuff could be removed I think. As far I
can see the object of such stuff is to cause gcc to say `I'm too lazy to
see exactly what memory this guy is trying to change, so just assume he
added "memory" in the clobber list' :))

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:30 EST