| CPC G06F 12/0891 (2013.01) [G06F 12/0811 (2013.01); G06F 2212/6042 (2013.01)] | 20 Claims |

|
1. A method, comprising:
operating, by a computing device, on operands in architectural registers to execute instructions of threads, wherein data for the architectural registers is stored and backed by a memory hierarchy that includes one or more cache levels and one or more memory circuits;
in response to a context switch indication for a given thread, the computing device:
identifying a set of cache lines at a first cache level that stored, prior to the context switch indication, a set of architectural register data for the given thread;
flushing and invalidating the identified set of cache lines; and
storing memory page information that indicates backing memory pages of the set of cache lines that were flushed and invalidated.
|