lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.047 / U:0.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site