diff options
author | Mandeep Singh Baines <[email protected]> | 2011-05-22 22:10:22 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-05-23 11:58:59 +0200 |
commit | 586692a5a5fc5740c8a46abc0f2365495c2d7c5f (patch) | |
tree | bc08228e67a968d83691c9efc5ea1feda9e6f98b /fs/jbd/commit.c | |
parent | e04ab2bc41b35c0cb6cdb07c8443f91aa738cf78 (diff) |
watchdog: Disable watchdog when thresh is zero
This restores the previous behavior of softlock_thresh.
Currently, setting watchdog_thresh to zero causes the watchdog
kthreads to consume a lot of CPU.
In addition, the logic of proc_dowatchdog_thresh and
proc_dowatchdog_enabled has been factored into proc_dowatchdog.
Signed-off-by: Mandeep Singh Baines <[email protected]>
Cc: Marcin Slusarz <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions