Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
From: Segher Boessenkool
Date: Wed Aug 15 2007 - 17:15:04 EST
Possibly these were too trivial to expose any potential problems that
you
may have been referring to, so would be helpful if you could write a
more
concrete example / sample code.
The trick is to have a sufficiently complicated expression to force
the compiler to run out of registers.
You can use -ffixed-XXX to keep the testcase simple.
Segher
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/