I always forget a few details.  Before doing the page fix, make your address 
space non-swappable if it is not already.  After the compare, delete the object 
and make your address space swappable if it was originally swappable.

Bill Fairchild

Software Developer 
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.4503 * Mobile: +1.508.341.1715
Email: [email protected] 
Web: www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Bill Fairchild
Sent: Thursday, June 04, 2009 3:32 PM
To: [email protected]
Subject: Re: Large Page Support

Allocate a one-MB object above the bar, page fix it, get the 64-bit real 
address of the starting virtual address, the 64-bit real address of the 
starting virtual address +4K, and off bits 51-63 (with a mask of 
X'FFFFFFFFFFFFE000') of both addresses, and compare the two real addresses that 
are left after the and operation.  If they are equal, then you have large page 
support.

Bill Fairchild

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

Reply via email to