Displaying 2 results from an estimated 2 matches for "system_nrq_wq".
2011 Dec 20
0
[PATCH] virtio_net: fix refill related races
...and toggle it on start/stop
check on refill. Add a mutex to pretect the flag,
as well as serial refills.
Move refill cancellation to after unregister.
refill work structure and new fields aren't used
on data path, so put them together near the end of
struct virtnet_info.
TODO: consider using system_nrq_wq as suggested by
Tejun Heo. Probably be a good idea but not a must for
correctness.
Lightly tested.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/net/virtio_net.c | 34 +++++++++++++++++++++++++++-------
1 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/...
2011 Dec 20
0
[PATCH] virtio_net: fix refill related races
...and toggle it on start/stop
check on refill. Add a mutex to pretect the flag,
as well as serial refills.
Move refill cancellation to after unregister.
refill work structure and new fields aren't used
on data path, so put them together near the end of
struct virtnet_info.
TODO: consider using system_nrq_wq as suggested by
Tejun Heo. Probably be a good idea but not a must for
correctness.
Lightly tested.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
drivers/net/virtio_net.c | 34 +++++++++++++++++++++++++++-------
1 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/...