]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
vhost: add unlikely annotations to error path
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Jul 2010 15:40:12 +0000 (18:40 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Jul 2010 16:25:40 +0000 (19:25 +0300)
commit7b3384fc30633738ae4eaf8e1bc6ce70470ced80
treefdf56de2245e095f7e451f025cb55f7cb8a704b5
parentd5675bd204efd87a174eeea592de23c4c4e7f908
vhost: add unlikely annotations to error path

patch 'break out of polling loop on error' caused
a minor performance regression on my machine: recover
that performance by adding a bunch of unlikely annotations
in the error handling.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/vhost.c