Re: [RFC][PATCH 17/18] sched: Move the second half of ttwu() tothe remote cpu

From: Peter Zijlstra
Date: Thu Feb 03 2011 - 12:16:16 EST


On Fri, 2011-01-28 at 16:04 -0800, Frank Rowand wrote:
>
> I haven't yet tried to twist my head around either the sched_fair or the
> sched_rt load balance paths. But wouldn't it just be safer (especially
> given that the load balance code will be modified by somebody at some
> point in the future, and that this locking complexity does require head
> twisting) to just add the pi_lock in the load-balance paths also?

I don't think that's needed, and I'm generally hesitant to add atomics
where not strictly needed.


--
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/