[lkml]   [2003]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: recursive spinlocks. Shoot.
On Llu, 2003-05-19 at 18:27, Peter T. Breuer wrote:
> :-). Well, whaddya know. Both read and write of a int (declared
> volatile) are atomic on ia32.

Except when they aren't. There are ppro SMP issues about ordering of
unlocked stores in some situations. Thats why the PPro generates
lock movb $0, foo for the unlock on PPro

Fixable however by PPro specific lock ops

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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