Edward E. Jaffe wrote:
The doc is pretty clear about the requirements and usage of CML lock.
You must set either PASN or SASN to the ASID of the address space for
which the CML lock is to be obtained. Granted, the "normal" way to get
PASN<>HASN is to PC-ss into another address space. But that is
generally not true for the equally-valid SASN<>HASN case. I just don't
see how you can so authoritatively state that "God" intends the CML
lock to be used _only_ after PC-ss.
I had this feeling the three of us had discussed something similar in
the past. I searched the IBM-Main archives and found these posts:
http://bama.ua.edu/cgi-bin/wa?A2=ind9910&L=ibm-main&P=83854
http://bama.ua.edu/cgi-bin/wa?A2=ind9910&L=ibm-main&&P=90410
http://bama.ua.edu/cgi-bin/wa?A2=ind9910&L=ibm-main&P=95892
http://bama.ua.edu/cgi-bin/wa?A2=ind9910&L=ibm-main&P=102220
Back then Greg Dyck was involved as well. He mentioned how holding the
CML lock can be used to prevent an address space from being swapped out
while you are accessing it, thus ensuring page faults are handled properly.
Some things never change ... :-)
--
.-----------------------------------------------------------------.
| Edward E. Jaffe | |
| Mgr, Research & Development | [EMAIL PROTECTED] |
| Phoenix Software International | Tel: (310) 338-0400 x318 |
| 5200 W Century Blvd, Suite 800 | Fax: (310) 338-0801 |
| Los Angeles, CA 90045 | http://www.phoenixsoftware.com |
'-----------------------------------------------------------------'
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html