]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kvm/eventfd: move wildcard calculation outside loop
authorYi Li <yili@winhong.com>
Fri, 11 Sep 2020 05:56:52 +0000 (13:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:08 +0000 (07:57 -0400)
commit2fc4f15dac952b9bbc2695c9040f2c17be70dabb
tree38c6d39d5fe56ee2ff7180da3eda78cbbf57b414
parentb9757a4b6f46560cdd65afdb0e44bc06b7e60340
kvm/eventfd: move wildcard calculation outside loop

There is no need to calculate wildcard in each iteration
since wildcard is not changed.

Signed-off-by: Yi Li <yili@winhong.com>
Message-Id: <20200911055652.3041762-1-yili@winhong.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/eventfd.c