About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / kvm / locking.txt




Custom Search

Based on kernel version 2.6.39.1. Page generated on 2011-06-03 13:47 EST.

1	KVM Lock Overview
2	=================
3	
4	1. Acquisition Orders
5	---------------------
6	
7	(to be written)
8	
9	2. Reference
10	------------
11	
12	Name:		kvm_lock
13	Type:		raw_spinlock
14	Arch:		any
15	Protects:	- vm_list
16			- hardware virtualization enable/disable
17	Comment:	'raw' because hardware enabling/disabling must be atomic /wrt
18			migration.
19	
20	Name:		kvm_arch::tsc_write_lock
21	Type:		raw_spinlock
22	Arch:		x86
23	Protects:	- kvm_arch::{last_tsc_write,last_tsc_nsec,last_tsc_offset}
24			- tsc offset in vmcb
25	Comment:	'raw' because updating the tsc offsets must not be preempted.
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.