Thanks Rob. That sounds rather definitive. And of course for scheduling SRBs, that make perfect sense.

But let me change the question slightly. I'm actually more interested in suspended local SRBs. I.E. SSRBs and SSRXs. Are they stabilized when the LOCAL lock is held?

Thanks,
Dave






At 5/31/2023 09:52 AM, Rob Scott wrote:
Dave
The answer from a work colleague who knows a LOT about the dispatcher is :
"The answer is no. SRB scheduling/dispatching does not use the local lock unless the SRB requests the local lock on dispatch. If so it is obtained (or suspended to wait for it) as the dispatch occurs."
Rob Scott
Rocket Software

From: IBM Mainframe Discussion List <[email protected]> On Behalf Of David Cole
Sent: 31 May 2023 11:01
To: [email protected]
Subject: Re: SSRB/SSRX and LOCAL locks question
EXTERNAL EMAIL


I was enquiring specifically about SRBs, not RBs.
Dave Cole



At 5/31/2023 05:25 AM, Binyamin Dissen wrote:
>I don't see how that answers either question.
>The need for SUSPEND RB caller to be disabled is to allow the resume process
>to resume it. You cannot schedule the resume process until the suspend as
>otherwise the resume may try resuming before the suspend completes, causing
>the later suspend to never wake up. It works different than ECBs.
>On Wed, 31 May 2023 18:38:58 +1000 Attila Fogarasi <[email protected]<mailto:[email protected]>> wrote:
>>:>It's documented as needing either LOCAL or CML lock. See
>>:>https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspen ding-rb-until-event-completes-suspend<https://www.ibm.com/docs/en/zos/2.2.0?topic=processing-suspending-rb-until-event-completes-suspend>
>>
>>:>
>>:>On Wed, May 31, 2023 at 6:20?PM Binyamin Dissen
>><[email protected]<mailto:[email protected]>>
>>:>wrote:
>>>:>
>>>:>> On Tue, 30 May 2023 16:42:00 -0400 David Cole
>>><[email protected]<mailto:[email protected]>> wrote:
>>>:>>
>>>:>> :>Does any know if suspended SRB control blocks (SSRB/SSRX) are
>>>:>> :>stabilized by holding the LOCAL lock? (I'm considering logic in
>>>:>> :>support of setting up TRAP2 debugging for SRBs.)
>>>:>>
>>>:>> I am also curious to know what "owner serialized" means.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to