• Paul E. McKenney's avatar
    refscale: Warn on individual ref_scale_init() error conditions · ed60ad73
    Paul E. McKenney authored
    When running refscale as a module, any ref_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 refscale
    built-in, for example, when using the kvm.sh script.  This commit
    therefore adds WARN_ON_ONCE() to allow distinguishing ref_scale_init()
    errors when running refscale built-in.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    ed60ad73
refscale.c 20.3 KB