On 01/24/2011 01:06 PM, Glauber Costa wrote:
Register steal time within KVM. Everytime we sample the steal time
information, we update a local variable that tells what was the
last time read. We then account the difference.
Signed-off-by: Glauber Costa<[email protected]>
CC: Rik van Riel<[email protected]>
CC: Jeremy Fitzhardinge<[email protected]>
CC: Peter Zijlstra<[email protected]>
CC: Avi Kivity<[email protected]>
On second thought - how does this deal with cpu hotplug and
hot unplug?
Do you allocate a new one of these structs every time a cpu
is hot unplugged and then hotplugged, leaking the old one?
Will leaving the old value around confuse the steal time
calculation?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html