Re: [PATCH RFC] x86: avoid atomic operation in test_and_set_bit_lock if possible

From: Andi Kleen
Date: Fri Mar 25 2011 - 13:22:21 EST


> Could you please try the patch below?

This is very likely not a good idea. I heard some systems can hang
if you overwrite their PMUs this way and you're unlucky enough :-(

-Andi
--
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/