diff options
author | Eric Dumazet <[email protected]> | 2011-06-16 15:53:18 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2011-09-28 21:36:33 -0700 |
commit | 1f288094807861ec1e48c428d2c49ccf7aaf3767 (patch) | |
tree | f8f1217bcf0a720d6ae17304b1bcb3ddbecb42be /net/unix/sysctl_net_unix.c | |
parent | a102a9ece5489e1718cd7543aa079082450ac3a2 (diff) |
rcu: Use kthread_create_on_node()
Commit a26ac2455ffc (move TREE_RCU from softirq to kthread) added
per-CPU kthreads. However, kthread creation uses kthread_create(), which
can put the kthread's stack and task struct on the wrong NUMA node.
Therefore, use kthread_create_on_node() instead of kthread_create()
so that the stacks and task structs are placed on the correct NUMA node.
A similar change was carried out in commit 94dcf29a11b3 (kthread:
use kthread_create_on_node()).
Also change rcutorture's priority-boost-test kthread creation.
Signed-off-by: Eric Dumazet <[email protected]>
CC: Tejun Heo <[email protected]>
CC: Rusty Russell <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Andi Kleen <[email protected]>
CC: Ingo Molnar <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions