From: Paul E. McKenney Date: Mon, 4 Aug 2014 14:24:21 +0000 (-0700) Subject: rcu: Defer rcu_tasks_kthread() creation till first call_rcu_tasks() X-Git-Tag: omap-for-v3.19/prcm-cleanup~100^2~1^2~15^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84a8f446ffd70c2799a96268aaa4d47c22a83ff0;p=pandora-kernel.git rcu: Defer rcu_tasks_kthread() creation till first call_rcu_tasks() It is expected that many sites will have CONFIG_TASKS_RCU=y, but will never actually invoke call_rcu_tasks(). For such sites, creating rcu_tasks_kthread() at boot is wasteful. This commit therefore defers creation of this kthread until the time of the first call_rcu_tasks(). This of course means that the first call_rcu_tasks() must be invoked from process context after the scheduler is fully operational. Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed