Re: RFC: Ideal Adaptive Spinning Conditions

From: Darren Hart
Date: Wed Mar 31 2010 - 22:04:08 EST


Roland Dreier wrote:
> I'm looking at some adaptive spinning with futexes as a way to help
> reduce the dependence on sched_yield() to implement userspace
> spinlocks. Chris, I included you in the CC after reading your comments
> regarding sched_yield() at kernel summit and I thought you might be
> interested.

I think you may have the wrong Chris. Chris Wright wasn't at the most
recent kernel summit and I do have a vague recollection of Chris Mason
mentioning that Oracle developers found that sched_yield() performed
better than futexes + kernel scheduling.

Oh bother, Sorry Chris! I even talked to Chris Wright about this already in person and he told me I probably was looking for Chris Mason, and I still got the last names crossed up!

--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
--
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/