Messages in this thread | | | Date | Tue, 12 Sep 2000 14:47:36 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: [patch]2.4.0-test6 "spinlock" preemption patch |
| |
On Tue, 12 Sep 2000, Alan Cox wrote:
>That code example can in theory deadlock without any patches if the CPU's
Woops I really meant:
while (test_and_set_bit(0, &lock)); /* critical section */ mb(); clear_bit(0, &lock);
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/
| |