• Paul E. McKenney's avatar
    rcu: Disable run-time single-CPU grace-period optimization · 258f887a
    Paul E. McKenney authored
    The run-time single-CPU grace-period optimization applies only to
    kernels built with CONFIG_SMP=y && CONFIG_PREEMPTION=y that are running
    on a single-CPU system.  But a kernel intended for a single-CPU system
    should instead be built with CONFIG_SMP=n, and in any case, single-CPU
    systems running Linux no longer appear to be the common case.  Plus this
    optimization results in the rcu_gp_oldstate structure being half again
    larger than it needs to be.
    
    This commit therefore disables the run-time single-CPU grace-period
    optimization, so that this optimization applies only during the
    pre-scheduler portion of the boot sequence.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    258f887a
tree.c 156 KB