[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220509155633.GA93071@paulmck-ThinkPad-P17-Gen-1>
Date: Mon, 9 May 2022 08:56:33 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: jolsa@...hat.com
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org
Subject: Folllowing up on LSF/MM RCU/idle discussion
Hello, Jiri!
It was good chatting with you last week, and I hope that travels went
well!
Just wanted to follow up on the non-noinstr code between the call
to rcu_idle_enter() and rcu_idle_exit(). Although the most correct
approach is to never have non-noinstr code in arch_cpu_idle(), for all I
know there might well be architectures for which this is not feasible.
If so, one workaround would be to supply a flag set by each arch (or
subarch) that says that rcu_idle_enter() and rcu_idle_exit() are invoked
within arch_cpu_idle().
CCing Peter, who just might have an opinion on this. ;-)
Thanx, Paul
Powered by blists - more mailing lists