PJ40912: UPDATE LOCKC() CODE TO IMPROVE PERFORMANCE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • See Problem Summary.
    

Local fix

  • na
    

Problem summary

  • APAR NUMBER:  PJ40912
    PRODUCT:  z/TPF
    FUNCTIONAL AREA:  INTER-ISTREAM COMMUNICATION
    SHIPPED IN PUT:  10
    
    ABSTRACT:
    The C function lockc() needs to be updated to improve
    performance.
    
    PACKAGE CONTENTS:
    Source Segments:
    (C) base/rt/clockc.asm
    
    Object Only Binaries:
    None.
    
    Configuration Independent Binaries:
    None.
    
    Support Files:
    None.
    
    OTHER BINARIES TO BUILD: YES
    (C) <sys>/obj/clockc.o
    (C) <sys>/stdlib/libCTAL.so
    (C) <sys>/stdload/CTAL.so
    
    COMMENTS:
    The LOCKC macro was updated to have a SYS=YES optional
    parameter that would use a CLI (compare logical immediate)
    instruction loop to check for a lock being held rather than a
    CS (Compare and Swap) instruction loop. This improved locking
    performance because checking the lock became read of the
    lockword's storage cache line rather than the repeated write of
    the line as done by CS. To improve the performance of the C
    function lockc(), a one-line change can be made in clockc.asm
    to use LOCKC with the SYS=YES parameter
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PJ40912

  • Reported component name

    Z/TPF

  • Reported component ID

    5748T1501

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-15

  • Closed date

    2013-01-18

  • Last modified date

    2013-01-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    Z/TPF

  • Fixed component ID

    5748T1501

Applicable component levels

  • R110 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

TPF
z/TPF

Software version:

110

Reference #:

PJ40912

Modified date:

2013-01-18

Translate my page

Machine Translation

Content navigation