摘要 |
Embodiments relate to multithreading in a computer. An aspect is a computer including a configuration having a core which includes physical threads and is operable in single thread (ST) and multithreading (MT) modes. The computer also includes a host program configured to execute in the ST mode on the core to issue a start-virtual-execution (start-VE) instruction to dispatch a guest entity which includes a guest virtual machine (VM). The start-VE instruction is executed by the core and includes obtaining a state description, having a guest state, from a location specified by the start-VE instruction. The execution includes determining, based on the guest state, whether the guest entity includes a single guest thread or multiple guest threads, and starting the guest threads in the MT mode or ST mode based on the guest state and a determination of whether the guest entity includes a single guest thread or multiple guest threads. |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
HELLER, LISA CRANTON;KUBALA, JEFFREY PAUL;BUSABA, FADI YUSUF;BRADBURY, JONATHAN DAVID;FARRELL, MARK;OSISEK, DAMIAN LEO;GREINER, DAN;SLEGEL, TIMOTHY;SCHMIDT, DONALD WILLIAM;GAINEY, CHARLES;JACOBI, CHRISTIAN |