|
@@ -250,6 +250,7 @@ static int rcu_gp_in_progress(struct rcu_state *rsp)
|
|
*/
|
|
*/
|
|
void rcu_sched_qs(void)
|
|
void rcu_sched_qs(void)
|
|
{
|
|
{
|
|
|
|
+ RCU_LOCKDEP_WARN(preemptible(), "rcu_sched_qs() invoked with preemption enabled!!!");
|
|
if (!__this_cpu_read(rcu_sched_data.cpu_no_qs.s))
|
|
if (!__this_cpu_read(rcu_sched_data.cpu_no_qs.s))
|
|
return;
|
|
return;
|
|
trace_rcu_grace_period(TPS("rcu_sched"),
|
|
trace_rcu_grace_period(TPS("rcu_sched"),
|
|
@@ -265,6 +266,7 @@ void rcu_sched_qs(void)
|
|
|
|
|
|
void rcu_bh_qs(void)
|
|
void rcu_bh_qs(void)
|
|
{
|
|
{
|
|
|
|
+ RCU_LOCKDEP_WARN(preemptible(), "rcu_bh_qs() invoked with preemption enabled!!!");
|
|
if (__this_cpu_read(rcu_bh_data.cpu_no_qs.s)) {
|
|
if (__this_cpu_read(rcu_bh_data.cpu_no_qs.s)) {
|
|
trace_rcu_grace_period(TPS("rcu_bh"),
|
|
trace_rcu_grace_period(TPS("rcu_bh"),
|
|
__this_cpu_read(rcu_bh_data.gpnum),
|
|
__this_cpu_read(rcu_bh_data.gpnum),
|