Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279129
b: refs/heads/master
c: f1776da
h: refs/heads/master
i:
  279127: cbaf2f6
v: v3
  • Loading branch information
Rusty Russell authored and David S. Miller committed Dec 29, 2011
1 parent 088113c commit 0a31e3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2baed69e605c3e57d28940cc7aaae908d61f769
refs/heads/master: f1776dade17cd54562f4bc1d01de89c4908b4dd0
6 changes: 3 additions & 3 deletions trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ static void refill_work(struct work_struct *work)
/* In theory, this can happen: if we don't get any buffers in
* we will *never* try to fill again. */
if (still_empty)
schedule_delayed_work(&vi->refill, HZ/2);
queue_delayed_work(system_nrt_wq, &vi->refill, HZ/2);
}

static int virtnet_poll(struct napi_struct *napi, int budget)
Expand All @@ -527,7 +527,7 @@ static int virtnet_poll(struct napi_struct *napi, int budget)

if (vi->num < vi->max / 2) {
if (!try_fill_recv(vi, GFP_ATOMIC))
schedule_delayed_work(&vi->refill, 0);
queue_delayed_work(system_nrt_wq, &vi->refill, 0);
}

/* Out of packets? */
Expand Down Expand Up @@ -729,7 +729,7 @@ static int virtnet_open(struct net_device *dev)

/* Make sure we have some buffers: if oom use wq. */
if (!try_fill_recv(vi, GFP_KERNEL))
schedule_delayed_work(&vi->refill, 0);
queue_delayed_work(system_nrt_wq, &vi->refill, 0);

virtnet_napi_enable(vi);
return 0;
Expand Down

0 comments on commit 0a31e3f

Please sign in to comment.