摘要 |
An scalable multi-reader/single-writer lock implementation that eliminates contention for lock data structures that can occur in large symmetric multi-processing (SMP) computer systems. The present invention includes a registry head data structure for each critical resource within the computer system. Linked to each of the registry head data structures are one or more client data structures that represent each client (i.e., process, thread, interrupt handler, and the like) that needs read and/or write access to the critical resource represented by the registry head data structure. Further, five operations-Initialization, Adding a Client, Deleting a Client, Obtaining Read Access, and Obtaining Write Access-are provided in order to achieve the goal of contention elimination.
|