Re: [PATCH] hotplug: Optimize {get,put}_online_cpus()

From: Steven Rostedt
Date: Mon Sep 23 2013 - 11:59:16 EST


On Mon, 23 Sep 2013 17:22:23 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Still no point in using srcu for this; preempt_disable +
> synchronize_sched() is similar and much faster -- its the rcu_sched
> equivalent of what you propose.

To be honest, I sent this out last week and it somehow got trashed by
my laptop and connecting to my smtp server. Where the last version of
your patch still had the memory barrier ;-)

So yeah, a true synchronize_sched() is better.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/