Thank you Ngafei, Greg and Ed. It looks like the Interrupt Handler Save Area is exactly what I'm looking for.

And someone else has pointed me to the mapping macro! SYS1.MODGEN(IHAIHSA)



[:-)]
Dave






At 3/6/2014 08:53 PM, Ngafei Huang wrote:
Very vague but I seem to remember if an interrupt have occurred (and it should have since this is suspend lock) while holding local lock, status should be saved in area pointed to buy ASSBIHSA of holder address space.






On Thursday, March 6, 2014 6:10:25 PM UTC-5, [email protected] wrote:
It has been a while since I looked at the code, but I believe in the IHSA

of the address space who's local lock is held.

Greg






At 3/7/2014 01:49 AM, Ed Jaffe wrote:
ASXBIHSA DS    A -                 POINTER TO INTERRUPT HANDLERS SAVE
*                                  AREA FOR LOCALLY LOCKED INTERRUPTS

Nice!






-----Original Message-----
From: David Cole <[email protected]>
To: IBM-MAIN <[email protected]>
Sent: Thu, Mar 6, 2014 5:09 pm
Subject: Where is status saved for LOCAL LOCK'd code?


I have a question. Recently, I was using z/XDC to watch the flow of execution of some task in a different aspace. At one point, that code acquired the Local Lock and then fell into a closed, tight execution loop ("B *" actually - I guess that's as tight as it gets.)

But watching this thing from another aspace, I could not tell where the execution loop was!

Normally, I would look at the resume PSW from the newest RB/XSB on the running TCB, but in this case the LLOCK was held, so the RB information was ancient history.

So my question is, when the LOCAL LOCK is held and a the aspace that holds it is spinning, and I'm looking in from the outside, where do I look to to find that aspace's current PSW and registers?


(Eventually, we took a dump and looked in the System Trace and found the loop from recorded interrupt addresses, but I'd like to be able to figure this out live... without having to resort to a dump.)

TIA,
Dave Cole

Dave Cole
ColeSoft Marketing
414 Third Street, NE
Charlottesville, VA 22902
EADDRESS:   <mailto:[email protected]>[email protected]

Home page:   www.colesoft.com
Facebook:     www.facebook.com/colesoftware
YouTube: www.youtube.com/user/colesoftware
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to