About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
LCPBK | Back to Index page |
Prolog Control Block Contents LCPBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
|
LCPBK Prolog | Top of page |
NAME : HCPLCPBK DESCRIPTION: Limiting CPU Pool system block = = = = = DSECT : LCPBK FUNCTION : This control block holds all of the system level fields for the CPU Pooling line item. This includes the pointers to the chain of LIMBKs (1 per CPU Pool defined), the LIMBK CHAIN LOCK, and any other fields needed at the system level. There is ONE HCPLCPBK per z/VM system. LOCATED BY : SYSLCPBK: SYSCM pointer to the LCPBK for the system LIMNEXT: LIMBK chain FORWARD pointer to NEXT LIMBK LIMPREV: LIMBK chain BACKWARD pointer to PREVIOUS LIMBK CREATED BY : HCPISR At initialization of the system. DELETED BY : NONE REFERENCES : HCPLIMBK: Limiting Control Block for a CPU Pool SERIALIZED : HCPISRM only runs during system initialization time so no serialization is needed. The LIMBK CHAIN LOCK (LCPLLCK) is contained in this control block and is used to serialize the content of specific LIMBK/VMDBK fields as well as the LIMBK CHAIN which consists of the LCPNEXT/LCPPREV/LIMNEXT/LIMPREV pointers. When CPU Pooling code needs multiple locks, the locks needed *MUST* be obtained in this order to prevent a deadlock: 1. SYSRLOLCK - Shared/Exclusive defer lock to serialize access to the RLOBK list. The RLOBK and this lock are only used for VMRELOCATION. 2. LCPLLCK - Shared/Exclusive defer lock to serialize access to the LIMBK CHAIN as well as fields in the VMDBK and LIMBK. 3. SCHEDULER - Shared/Exclusive defer lock to serialize scheduler tasks as well as fields in the VMDBK and LIMBK. 4. LOCAL CYCLIC LIST - SPIN lock to serialize a user's chain of VMDBKs. RELOCATION CONSIDERATIONS : None COMPATIBILITY AND MIGRATION CONCERNS : All system level fields for CPU Pooling should be put in this control block and not HCPSYSCM. COMMENTS : Any part including this COPY file needs to also include HCPLKWRD (General Lock Word) copy file to compile without an error on LKWRDSIZ. The 1/19/2011 version of BICOPY VMSKEL was used to create this new control block. |
LCPBK Control Block Content | Top of page |
|
LCPBK Storage Layout | Top of page |
*** LCPBK - Limiting CPU Pool system block * * +-------------------------------------------------------+ * 0 | | * = LCPLLCK = * | | * +---------------------------+---------------------------+ * 18 | LCPNEXT | LCPPREV | * +------+--------------------+---------------------------+ * 20 |:CPUAF|////////////////////| LCPCIFLA | * +------+--------------------+---------------------------+ * 28 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 30 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 38 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 40 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 48 * *** LCPBK - Limiting CPU Pool system block |
LCPBK Cross Reference | Top of page |
Symbol Dspl Value -------------- ---- ----- LCPBSIZE 0040 00000048 LCPCIFLA 0024 LCPCPUAF 0020 LCPIFL 0020 80 LCPLLCK 0000 LCPNEXT 0018 LCPPREV 001C LCPSIZE 0040 00000009 |
Copyright IBM Corporation, 1990, 2022