On Tue, Nov 09, 2010 at 05:22:49PM +0800, Lai Jiangshan wrote:
I like this idea.
I would just merge the concept of "rcu timer" into the sched tick,
as per Peter Zijlstra idea:
In this CPU isolation mode, we are going to do a kind of adapative
sched tick already: run the sched tick and if there was nothing to do
for some time and we are in userspace, deactivate it. If suddenly
a new task arrives on the CPU (which means there is now more than
one task running and we want preemption tick back), or if we have
timers enqueued, or so, reactivate it.
So I would simply merge your rcu idea into this, + the reactivation
Someone see a bad thing in this idea?