commit | add40e9777de139fb317ca6b1fb0dc142601cfcd | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 03 15:11:43 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 17 17:31:00 2013 +0200 |
tree | bec5acdd2592edaa95f52afd6ec2526e7f390c49 | |
parent | 0f809e5fbebb36788aea3523be7f93c04f2c7f8c [diff] |
timer: add timer_mod_anticipate and timer_mod_anticipate_ns These let a user anticipate the deadline of a timer, atomically with other sites that call the function. This helps avoiding complicated lock hierarchies. Reviewed-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>