refscale: Always log the error message
authorLi Zhijian <lizhijian@cn.fujitsu.com>
Mon, 25 Oct 2021 03:26:58 +0000 (11:26 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 8 Dec 2021 00:31:44 +0000 (16:31 -0800)
commit4feeb9d5f82229bf39621be755bda81521539476
tree5214326fed73754e089670010179bfd0e053229c
parent9880eb878c315b241002d43d7ff89df23713a51b
refscale: Always log the error message

An OOM is a serious error that should be logged even in non-verbose runs.
This commit therefore adds an unconditional SCALEOUT_ERRSTRING() macro
and uses it instead of VERBOSE_SCALEOUT_ERRSTRING() when reporting an OOM.

[ paulmck: Drop do-while from SCALEOUT_ERRSTRING() due to only single statement. ]

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/refscale.c