gvisor/pkg/sentry/platform/kvm
Adin Scannell 659b10d1a6 Move page tables lock into the address space.
This is necessary to prevent races with invalidation. It is currently
possible that page tables are garbage collected while paging caches
refer to them. We must ensure that pages are held until caches can be
invalidated. This is not achieved by this goal alone, but moving locking
to outside the page tables themselves is a requisite.

PiperOrigin-RevId: 198920784
Change-Id: I66fffecd49cb14aa2e676a84a68cabfc0c8b3e9a
2018-06-01 13:51:16 -07:00
..
testutil Check in gVisor. 2018-04-28 01:44:26 -04:00
BUILD Simplify KVM invalidation logic. 2018-05-15 22:21:36 -07:00
address_space.go Move page tables lock into the address space. 2018-06-01 13:51:16 -07:00
address_space_unsafe.go Simplify KVM invalidation logic. 2018-05-15 22:21:36 -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 Check in gVisor. 2018-04-28 01:44:26 -04: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 Change ring0 & page tables arguments to structs. 2018-05-30 15:14:44 -07:00
kvm_amd64.go Check in gVisor. 2018-04-28 01:44:26 -04:00
kvm_amd64_unsafe.go Disable INVPCID check; it's not used. 2018-05-14 21:40:21 -07:00
kvm_const.go Fix KVM EFAULT handling. 2018-05-15 22:44:40 -07:00
kvm_test.go Change ring0 & page tables arguments to structs. 2018-05-30 15:14:44 -07:00
machine.go Change ring0 & page tables arguments to structs. 2018-05-30 15:14:44 -07:00
machine_amd64.go Change ring0 & page tables arguments to structs. 2018-05-30 15:14:44 -07:00
machine_amd64_unsafe.go Check in gVisor. 2018-04-28 01:44:26 -04:00
machine_unsafe.go Simplify KVM invalidation logic. 2018-05-15 22:21:36 -07:00
physical_map.go Check in gVisor. 2018-04-28 01:44:26 -04: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