Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296245
b: refs/heads/master
c: d550dda
h: refs/heads/master
i:
  296243: 7e4ec31
v: v3
  • Loading branch information
Nadav Har'El authored and Michael S. Tsirkin committed Feb 28, 2012
1 parent 12e101d commit 8f77a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b17d5c6e190f3d328aae0444f8b93d58d0015714
refs/heads/master: d550dda192c1bd039afb774b99485e88b70d7cb8
2 changes: 2 additions & 0 deletions trunk/drivers/vhost/vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ static int vhost_worker(void *data)
if (work) {
__set_current_state(TASK_RUNNING);
work->fn(work);
if (need_resched())
schedule();
} else
schedule();

Expand Down

0 comments on commit 8f77a39

Please sign in to comment.