Re: [PATCH] x86: Make variable_test_bit reference all of *addr

From: Andi Kleen
Date: Thu Oct 06 2011 - 22:02:24 EST

"hpanvin@xxxxxxxxx" <hpa@xxxxxxxxx> writes:

> This is concerning... the kernel relies heavily on asm volatile being a universal memory consumer. If that is suddenly broken, we are f*** in many, many, MANY places in the kernel all of a sudden!

I don't think that's true. We generally add "memory" clobbers for this
purpose. asm volatile just means "don't move"

Just this one doesn't have it for unknown reasons (someone overoptimizing?)


ak@xxxxxxxxxxxxxxx -- Speaking for myself only
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at