From: Paul E. McKenney Date: Mon, 27 Oct 2014 23:04:35 +0000 (-0700) Subject: rcu: Fix FIXME in rcu_tasks_kthread() X-Git-Tag: firefly_0821_release~176^2~2760^2^2^4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=60ced4950c5059eff3f03027926eb5384f9923e1;p=firefly-linux-kernel-4.4.55.git rcu: Fix FIXME in rcu_tasks_kthread() This commit affines rcu_tasks_kthread() to the housekeeping CPUs in CONFIG_NO_HZ_FULL builds. This is just a default, so systems administrators are free to put this kthread somewhere else if they wish. Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 3ef8ba58694e..8a39e68ff8e0 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -531,7 +531,8 @@ static int __noreturn rcu_tasks_kthread(void *arg) struct rcu_head *next; LIST_HEAD(rcu_tasks_holdouts); - /* FIXME: Add housekeeping affinity. */ + /* Run on housekeeping CPUs by default. Sysadm can move if desired. */ + housekeeping_affine(current); /* * Each pass through the following loop makes one check for