Re: [PATCH] break_lock forever broken

From: Nick Piggin
Date: Mon Mar 14 2005 - 06:04:31 EST


Ingo Molnar wrote:
* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:


as I said, since the cacheline just got dirtied, the write is just
half a cycle which is so much in the noise that it really doesn't
matter.


ok - the patch below is a small modification of Hugh's so that we clear
->break_lock unconditionally. Since this code is not inlined it ought to
have minimal icache impact too.


Fine by me.

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