Re: [v4.14-rt][report] arm: just another rcu_note_context_switch

From: Grygorii Strashko
Date: Fri Feb 16 2018 - 13:26:58 EST




On 02/16/2018 05:30 AM, Sebastian Andrzej Siewior wrote:
On 2018-02-14 16:12:42 [-0600], Grygorii Strashko wrote:
Hi All,
Hi,

I can see below warning during boot on few TI boards am437x-idk, am335x-evm, am335x-ice
All of them are non-SMP

I somehow missed the !SMP kernelâ What about this:

Subject: [PATCH] RCU: skip the "schedule() in RCU section" warning on UP, too

In "RCU: we need to skip that warning but only on sleeping locks" we
skipped a warning on SMP systems in case we schedule out in a RCU
section while attempt to obtain a sleeping lock. This is also required
on UP systems.
In order to do so, I introduce a tiny version of migrate_disable() +
_enable() which only update the counters which we then can check against
on RT && !SMP.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---

Thanks. I do not see errors any more.
Tested-by: Grygorii Strashko <grygorii.strashko@xxxxxx>



--
regards,
-grygorii