From: Paul E. McKenney Date: Fri, 11 Jul 2014 18:30:24 +0000 (-0700) Subject: rcu: Create rcuo kthreads only for onlined CPUs X-Git-Tag: omap-for-v3.19/prcm-cleanup~100^2~1^2~16^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ce7f29a44a888c45c0a9f202f69e10613c5306;p=pandora-kernel.git rcu: Create rcuo kthreads only for onlined CPUs RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, which can result in more rcuo kthreads than one would expect, for example, derRichard reported 64 CPUs worth of rcuo kthreads on an 8-CPU image. This commit therefore creates rcuo kthreads only for those CPUs that actually come online. This was reported by derRichard on the OFTC IRC network. Reported-by: Richard Weinberger Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett Tested-by: Paul Gortmaker --- Reading git-diff-tree failed