vhost: optimize interrupt enable/disable
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Jul 2011 14:15:43 +0000 (17:15 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Jul 2011 14:17:28 +0000 (17:17 +0300)
commitb834226b04d6fb51178a64e98872856986c71474
tree61bc6a86691586b490210029aeb603969d97e399
parent75fd9edc1054a1fa1d1411adec368dadf68e764e
vhost: optimize interrupt enable/disable

As we now only update used ring after enabling
the backend, we can write flags with __put_user:
as that's done on data path, it matters.

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