projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230ec93
)
watchdog: simplify housekeeping affinity with the appropriate mask
author
Frederic Weisbecker
<
[email protected]
>
Fri, 4 Sep 2015 22:45:09 +0000
(15:45 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 4 Sep 2015 23:54:41 +0000
(16:54 -0700)
housekeeping_mask gathers all the CPUs that aren't part of the nohz_full
set. This is exactly what we want the watchdog to be affine to without
the need to use complicated cpumask operations.
Signed-off-by: Frederic Weisbecker <
[email protected]
>
Reviewed-by: Chris Metcalf <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Chris Metcalf <
[email protected]
>
Cc: Don Zickus <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Ulrich Obergfell <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/watchdog.c
patch
|
blob
|
history
diff --git
a/kernel/watchdog.c
b/kernel/watchdog.c
index e5bb86fb0ea5fac2e05cefc80bccc0a9bf99388a..d18330fa477696c9f0e8efe808d97ca42ffe0bbc 100644
(file)
--- a/
kernel/watchdog.c
+++ b/
kernel/watchdog.c
@@
-929,10
+929,8
@@
void __init lockup_detector_init(void)
#ifdef CONFIG_NO_HZ_FULL
if (tick_nohz_full_enabled()) {
- if (!cpumask_empty(tick_nohz_full_mask))
- pr_info("Disabling watchdog on nohz_full cores by default\n");
- cpumask_andnot(&watchdog_cpumask, cpu_possible_mask,
- tick_nohz_full_mask);
+ pr_info("Disabling watchdog on nohz_full cores by default\n");
+ cpumask_copy(&watchdog_cpumask, housekeeping_mask);
} else
cpumask_copy(&watchdog_cpumask, cpu_possible_mask);
#else