Invention Grant
- Patent Title: Intelligent context management
-
Application No.: US13666328Application Date: 2012-11-01
-
Publication No.: US10078518B2Publication Date: 2018-09-18
- Inventor: Randal C. Swanberg
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Thomas E. Tyson; Jack V. Musgrove
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/38 ; G06F9/46

Abstract:
Intelligent context management for thread switching is achieved by determining that a register bank has not been used by a thread for a predetermined number of dispatches, and responsively disabling the register bank for use by that thread. A counter is incremented each time the thread is dispatched but the register bank goes unused. Usage or non-usage of the register bank is inferred by comparing a previous checksum for the register bank to a current checksum. If the previous and current checksums match, the system concludes that the register bank has not been used. If a thread attempts to access a disabled bank, the processor takes an interrupt, enables the bank, and resets the corresponding counter. For a system utilizing transactional memory, it is preferable to enable all of the register banks when thread processing begins to avoid aborted transactions from register banks disabled by lazy context management techniques.
Public/Granted literature
- US20140122844A1 INTELLIGENT CONTEXT MANAGEMENT Public/Granted day:2014-05-01
Information query