Displaying 1 result from an estimated 1 matches for "_raw_spin_".
2011 Sep 01
3
HVM guests and pvlocks not working as expected
...ons.
Later in start_kernel, check_bugs is called and part of that takes the
pv_lock_ops and patches the kernel with the correct jumps.
_After_ that, the kernel_init is called and that in turn does the
smp_prepare_cpus which now changes the pv_lock_ops again, *but not* run any
patching again. So the _raw_spin_*lock calls still use the ticket calls.
start_kernel
setup_arch -> xen_hvm_smp_init (set smp_ops)
...
check_bugs -> alternative_instructions (patches pv_locks sites)
...
rest_init (triggers kernel_init as a thread)
kernel_init
...
smp_prepare_cpus (calls xen_init_spi...