• Paul E. McKenney's avatar
    rcuscale: Warn on individual rcu_scale_init() error conditions · eb77abfd
    Paul E. McKenney authored
    When running rcuscale as a module, any rcu_scale_init() issues will be
    reflected in the error code from modprobe or insmod, as the case may be.
    However, these error codes are not available when running rcuscale
    built-in, for example, when using the kvm.sh script.  This commit
    therefore adds WARN_ON_ONCE() to allow distinguishing rcu_scale_init()
    errors when running rcuscale built-in.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    eb77abfd
rcuscale.c 23.2 KB