diff options
author | Avi Kivity <avi@redhat.com> | 2009-06-04 18:09:08 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:32:47 +0300 |
commit | 105f8d40a737564100dc7dcd1d94d4e15fada20e (patch) | |
tree | cf94ec090c8a8677acfd312cbdf262f0321363eb /CREDITS | |
parent | 596ae895653fe336b9b5815ad2c175d22bb26f21 (diff) | |
download | linux-105f8d40a737564100dc7dcd1d94d4e15fada20e.tar.bz2 |
KVM: Calculate available entries in coalesced mmio ring
Instead of checking whether we'll wrap around, calculate how many entries
are available, and check whether we have enough (just one) for the pending
mmio.
By itself, this doesn't change anything, but it paves the way for making
this function lockless.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions