search for: g446ac

Displaying 12 results from an estimated 12 matches for "g446ac".

Did you mean: 446a
2011 Jan 18
2
[PATCH] vhost: rcu annotation fixup
...t) { unsigned acked_features; - acked_features = - rcu_dereference_index_check(dev->acked_features, - lockdep_is_held(&dev->mutex)); + acked_features = rcu_dereference_index_check(dev->acked_features, 1); return acked_features & (1 << bit); } -- 1.7.3.2.91.g446ac
2011 Jan 18
2
[PATCH] vhost: rcu annotation fixup
...t) { unsigned acked_features; - acked_features = - rcu_dereference_index_check(dev->acked_features, - lockdep_is_held(&dev->mutex)); + acked_features = rcu_dereference_index_check(dev->acked_features, 1); return acked_features & (1 << bit); } -- 1.7.3.2.91.g446ac
2011 Jan 05
3
[PATCH] virtio-pci: add softlinks between virtio and pci
...*pci_dev) { struct virtio_pci_device *vp_dev = pci_get_drvdata(pci_dev); + sysfs_remove_link(&vp_dev->vdev.dev.kobj, "bus_device"); + sysfs_remove_link(&pci_dev->dev.kobj, "virtio_device"); unregister_virtio_device(&vp_dev->vdev); } -- 1.7.3.2.91.g446ac
2011 Jan 05
3
[PATCH] virtio-pci: add softlinks between virtio and pci
...*pci_dev) { struct virtio_pci_device *vp_dev = pci_get_drvdata(pci_dev); + sysfs_remove_link(&vp_dev->vdev.dev.kobj, "bus_device"); + sysfs_remove_link(&pci_dev->dev.kobj, "virtio_device"); unregister_virtio_device(&vp_dev->vdev); } -- 1.7.3.2.91.g446ac
2011 Jan 10
0
[PATCH] vhost: fix signed/unsigned comparison
...= seq - work->done_seq <= 0; - spin_unlock_irq(&dev->work_lock); - left; - })); + wait_event(work->done, vhost_work_seq_done(dev, work, seq)); spin_lock_irq(&dev->work_lock); flushing = --work->flushing; spin_unlock_irq(&dev->work_lock); -- 1.7.3.2.91.g446ac
2011 Jan 18
0
[PATCHv2] vhost: rcu annotation fixup
...dev->acked_features, - lockdep_is_held(&dev->mutex)); + /* TODO: check that we are running from vhost_worker or dev mutex is + * held? */ + acked_features = rcu_dereference_index_check(dev->acked_features, 1); return acked_features & (1 << bit); } -- 1.7.3.2.91.g446ac
2011 Mar 06
1
[PATCH] vhost: copy_from_user -> __copy_from_user
...return -EINVAL; } - ret = copy_from_user(&desc, vq->desc + i, sizeof desc); + ret = __copy_from_user(&desc, vq->desc + i, sizeof desc); if (unlikely(ret)) { vq_err(vq, "Failed to get descriptor: idx %d addr %p\n", i, vq->desc + i); -- 1.7.3.2.91.g446ac
2011 Jan 10
0
[PATCH] vhost: fix signed/unsigned comparison
...= seq - work->done_seq <= 0; - spin_unlock_irq(&dev->work_lock); - left; - })); + wait_event(work->done, vhost_work_seq_done(dev, work, seq)); spin_lock_irq(&dev->work_lock); flushing = --work->flushing; spin_unlock_irq(&dev->work_lock); -- 1.7.3.2.91.g446ac
2011 Jan 18
0
[PATCHv2] vhost: rcu annotation fixup
...dev->acked_features, - lockdep_is_held(&dev->mutex)); + /* TODO: check that we are running from vhost_worker or dev mutex is + * held? */ + acked_features = rcu_dereference_index_check(dev->acked_features, 1); return acked_features & (1 << bit); } -- 1.7.3.2.91.g446ac
2011 Mar 06
1
[PATCH] vhost: copy_from_user -> __copy_from_user
...return -EINVAL; } - ret = copy_from_user(&desc, vq->desc + i, sizeof desc); + ret = __copy_from_user(&desc, vq->desc + i, sizeof desc); if (unlikely(ret)) { vq_err(vq, "Failed to get descriptor: idx %d addr %p\n", i, vq->desc + i); -- 1.7.3.2.91.g446ac
2010 Nov 16
1
[PATCH RFC] tools/virtio: virtio_ring testing tool
...} + } + test = 0; + r = ioctl(dev->control, VHOST_NULL_RUN, &test); + assert(r >= 0); +} + +int main(int argc, char **argv) +{ + struct vdev_info dev; + vdev_info_init(&dev); + vq_info_add(&dev, 256); + run_test(&dev, &dev.vqs[0], 0x100000); + return 0; +} -- 1.7.3.2.91.g446ac
2010 Nov 16
1
[PATCH RFC] tools/virtio: virtio_ring testing tool
...} + } + test = 0; + r = ioctl(dev->control, VHOST_NULL_RUN, &test); + assert(r >= 0); +} + +int main(int argc, char **argv) +{ + struct vdev_info dev; + vdev_info_init(&dev); + vq_info_add(&dev, 256); + run_test(&dev, &dev.vqs[0], 0x100000); + return 0; +} -- 1.7.3.2.91.g446ac