×

Low latency thread context caching

  • US 10,127,076 B1
  • Filed: 06/06/2016
  • Issued: 11/13/2018
  • Est. Priority Date: 10/21/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method executed by a processor, the method comprising:

  • performing, by a processor core of the processor, one or more operations as requested by a thread executing on the processor, the thread having a thread context including information used by the thread during execution;

    receiving, by the processor core, a park request from the thread indicating that execution of the thread should be suspended and the thread context should be stored in a cache included in the processor core and having a cache response time, the park request including a resume condition indicating when the thread should be resumed, the park request received following a request from the thread for a low latency resource to perform an operation for which the cache response time is less than or equal to a response time threshold so as to allow the thread context to be stored and retrieved from the cache in less time than a time it takes the low latency resource to complete the operation;

    storing the thread context in the cache;

    detecting that the resume condition has occurred, wherein detecting that the resume condition has occurred includes detecting that a value of a resume register has been updated;

    retrieving the thread context from the cache; and

    resuming execution of the thread on the processor core using the retrieved thread context.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×