projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5b2a0
)
watchdog: Make the kthreads NUMA affine
author
Eric Dumazet
<eric.dumazet@gmail.com>
Wed, 3 Aug 2011 17:59:04 +0000
(13:59 -0400)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 14 Aug 2011 09:53:06 +0000
(11:53 +0200)
Watchdog kthreads can use kthread_create_on_node() to NUMA affine their
stack and task_struct.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/1312394344-18815-1-git-send-email-dzickus@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/watchdog.c
b/kernel/watchdog.c
index 36491cd5b7d4a595a2c3a432ecce769caafb24c7..e952a1394d265fbbb6804fc8e233e0aaf4ee6fa2 100644
(file)
--- a/
kernel/watchdog.c
+++ b/
kernel/watchdog.c
@@
-438,7
+438,7
@@
static int watchdog_enable(int cpu)
/* create the watchdog thread */
if (!p) {
- p = kthread_create
(watchdog, (void *)(unsigned long)cpu
, "watchdog/%d", cpu);
+ p = kthread_create
_on_node(watchdog, NULL, cpu_to_node(cpu)
, "watchdog/%d", cpu);
if (IS_ERR(p)) {
printk(KERN_ERR "softlockup watchdog for %i failed\n", cpu);
if (!err) {