• Frederic Weisbecker's avatar
    srcu: Remove superfluous ssp initialization for early callbacks · c75e9d29
    Frederic Weisbecker authored
    Pre-srcu_init() invocations of call_srcu() initialize the srcu_struct
    structure in question, so there is no need to check this initialization
    in srcu_init() when initiating grace periods for srcu_struct structures
    that had early call_srcu() invocations.  This commit therefore drops
    the calls to check_init_srcu_struct() in srcu_init().
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Cc: Boqun Feng <boqun.feng@gmail.com>
    Cc: Lai Jiangshan <jiangshanlai@gmail.com>
    Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
    Cc: Josh Triplett <josh@joshtriplett.org>
    Cc: Joel Fernandes <joel@joelfernandes.org>
    Cc: Uladzislau Rezki <urezki@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    c75e9d29
srcutree.c 47.5 KB