rwlocks revisited

Tigran Aivazian tigran en sco.COM
Sab Ene 22 00:59:18 CST 2000


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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda