Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295155
b: refs/heads/master
c: b60f796
h: refs/heads/master
i:
  295153: bae5bf1
  295151: 6145372
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 23, 2012
1 parent 06a947c commit 7deaafd
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 4501980aae221ed8120dee3491f799ecd75187ad
refs/heads/master: b60f796c4ca72545327a069f12938360d833cce7
4 changes: 4 additions & 0 deletions trunk/kernel/watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ static int watchdog(void *unused)

set_current_state(TASK_INTERRUPTIBLE);
}
/*
* Drop the policy/priority elevation during thread exit to avoid a
* scheduling latency spike.
*/
__set_current_state(TASK_RUNNING);
sched_setscheduler(current, SCHED_NORMAL, &param);
return 0;
Expand Down

0 comments on commit 7deaafd

Please sign in to comment.