MANAGING ENCLAVE MEMORY PAGES
First Claim
1. A processing device comprising:
- a first counter having a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM), wherein the plurality of child pages are associated with a parent page in the enclave memory; and
a second counter having a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM, wherein a non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing device includes a first counter having a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM). The plurality of child pages are associated with a parent page in the enclave memory. The processing device includes a second counter having a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM. A non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory.
-
Citations
25 Claims
-
1. A processing device comprising:
-
a first counter having a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM), wherein the plurality of child pages are associated with a parent page in the enclave memory; and a second counter having a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM, wherein a non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system-on-a chip (SoC) comprising:
-
a memory; and a processing device communicably coupled to the memory, wherein the processing device comprises; a first counter having a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM), wherein the plurality of child pages are associated with a parent page in the enclave memory; and a second counter having a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM, wherein a non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method comprising:
-
determining a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM), wherein the plurality of child pages are associated with a parent page in the enclave memory; and determining a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM, wherein a non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A non-transitory machine-readable storage medium including instructions that, when accessed by a processing device, cause the processing device to perform operations comprising:
-
determining a first count value of a number of child pages among a plurality of child pages present in an enclave memory of a first virtual machine (VM), wherein the plurality of child pages are associated with a parent page in the enclave memory; and determining a second count value of a number of child pages among the plurality of child pages not present in the enclave memory and being shared by a second VM, wherein the second VM is different from the first VM, wherein a non-zero value of at least one of the first counter or the second counter prevents eviction of the parent page from the enclave memory. - View Dependent Claims (22, 23, 24, 25)
-
Specification