Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105195
b: refs/heads/master
c: dd7a1e5
h: refs/heads/master
i:
  105193: df076f8
  105191: 5f0ea7d
v: v3
  • Loading branch information
Johannes Weiner authored and Ingo Molnar committed Jun 30, 2008
1 parent 8c7e70d commit a79599a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 8d5be7f4e8515af461cbc8f07687ccc81507d508
refs/heads/master: dd7a1e5615b1719c0fdffee1ea5a7820ac8141a6
7 changes: 5 additions & 2 deletions trunk/kernel/softlockup.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ void softlockup_tick(void)

now = get_timestamp(this_cpu);

/* Wake up the high-prio watchdog task every second: */
if (now > (touch_timestamp + 1))
/*
* Wake up the high-prio watchdog task twice per
* threshold timespan.
*/
if (now > touch_timestamp + softlockup_thresh/2)
wake_up_process(per_cpu(watchdog_task, this_cpu));

/* Warn about unreasonable delays: */
Expand Down

0 comments on commit a79599a

Please sign in to comment.