gvisor/pkg/sentry/platform/kvm
Adin Scannell 3374849cb5 Split PCID implementation from page tables.
Instead of associating a single PCID with each set of page tables (which
will reach the maximum quickly), allow a dynamic pool for each vCPU.
This is the same way that Linux operates. We also split management of
PCIDs out of the page tables themselves for simplicity.

PiperOrigin-RevId: 199585631
Change-Id: I42f3486ada3cb2a26f623c65ac279b473ae63201
2018-06-06 22:52:55 -07:00
..
testutil Check in gVisor. 2018-04-28 01:44:26 -04:00
BUILD Add allocator abstraction for page tables. 2018-06-06 21:48:24 -07:00
address_space.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
address_space_unsafe.go Simplify KVM invalidation logic. 2018-05-15 22:21:36 -07:00
allocator.go Add allocator abstraction for page tables. 2018-06-06 21:48:24 -07:00
bluepill.go Check in gVisor. 2018-04-28 01:44:26 -04:00
bluepill_amd64.go Restore FS on resume. 2018-05-30 17:37:51 -07:00
bluepill_amd64.s Check in gVisor. 2018-04-28 01:44:26 -04:00
bluepill_amd64_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
bluepill_fault.go Add allocator abstraction for page tables. 2018-06-06 21:48:24 -07:00
bluepill_unsafe.go Fix KVM EFAULT handling. 2018-05-15 22:44:40 -07:00
context.go Change ring0 & page tables arguments to structs. 2018-05-30 15:14:44 -07:00
host_map.go Simplify KVM host map handling. 2018-05-14 20:45:41 -07:00
kvm.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
kvm_amd64.go Check in gVisor. 2018-04-28 01:44:26 -04:00
kvm_amd64_unsafe.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
kvm_const.go Fix KVM EFAULT handling. 2018-05-15 22:44:40 -07:00
kvm_test.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
machine.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
machine_amd64.go Split PCID implementation from page tables. 2018-06-06 22:52:55 -07:00
machine_amd64_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
machine_unsafe.go Add allocator abstraction for page tables. 2018-06-06 21:48:24 -07:00
physical_map.go Add allocator abstraction for page tables. 2018-06-06 21:48:24 -07:00
virtual_map.go Check in gVisor. 2018-04-28 01:44:26 -04:00
virtual_map_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00