Re: rwlocks revisited

From: Tigran Aivazian (tigran@sco.COM)
Date: Fri Jan 21 2000 - 03:53:09 EST


Hi David,

You asked:

> This instruction (or perhaps I should say intruction family) is
> "cmpxchg*". I've known about a similar one on the m68k ("cas" & "cas2")
> for a while. I was wondering why the writelock code was done using
> "subl" rather than "cmpxchgl":

One reason may be because it is not present on 386 but only 486+ see page
3-100 of Volume II of Pentium III Manuals.

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:25 EST