> 
> :>> How many stack frames can be comfortably added In a typical system
> :>exit?
> 
> :>Spoken like a Vorlon. What kind of stack frames? Linkage stack? LE?
> 
> Linkage stack.
> 

"It depends". The default linkage stack has 99? entries, but the system
has other linkage stacks stashed under rocks here and there and those
are much smaller, typically just enough entries for the known execution
path. The system busily adds (or removes) LSQA or SQA frames whenever
you get a stack crossing interrupt, so the fact that there are
"logically" up to (say) 99 entries available has no real bearing on the
number of actual frames in use.

For enabled and unlocked task mode exits you can pretty much knock
yourself out. The system will merrily add stack frames as you go along,
at least until you hit the limit. You can use LSEXPAND to add more if
you really need them.

If you are holding any of the top couple of spin locks (RSMGL, VSMFIX
maybe others) the system isn't going to extend the stack if you fill it.
However in my experience, if you aren't holding one of the locks that
would preclude expansion and the stack is still below whatever its limit
would have been, the system just extends the stack and life goes on -
even if you're running disabled. 

SRBs and locked/disabled exits there may have less forgiving limits that
I am not aware of, but I have never needed to get too terribly deep in
the linkage stack in those places. Even so, I have never run across any
problem using a few entries on the stack even in the darkest places. 

CC

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