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)
commiteb4fab7d1b7a482641ca713efe2bea0bc152250d
tree61bc6a86691586b490210029aeb603969d97e399
parenta884e2c05b42ff4e50be03778c11ac95c4be3942
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