lkml.org 
[lkml]   [1999]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] new spinlock variant, spinlock-2.3.30-A4
On Tue, 30 Nov 1999, Ingo Molnar wrote:

>no, spin_lock() must guarantee that instructions within the critical
>section only execute at one CPU at once. Ie. all effects of the critical

Without the lock on the bus reads could happen before the spin_lock().
Thus instructions into the critical section would execute on two CPUs at
the same time.

Andrea



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.057 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site