]> www.infradead.org Git - users/willy/xarray.git/commit
rcuscale: Provide clear error when async specified without primitives
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:43:03 +0000 (17:43 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 18:42:24 +0000 (00:12 +0530)
commit11377947b5861fa59bf77c827e1dd7c081842cc9
tree6c0b73a4081f9d0c2931a909c4ca74186b678b97
parent674fc922f06f7632ac94536ca92dd8addb606f46
rcuscale: Provide clear error when async specified without primitives

Currently, if the rcuscale module's async module parameter is specified
for RCU implementations that do not have async primitives such as RCU
Tasks Rude (which now lacks a call_rcu_tasks_rude() function), there
will be a series of splats due to calls to a NULL pointer.  This commit
therefore warns of this situation, but switches to non-async testing.

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
kernel/rcu/rcuscale.c