Re: [GIT PULL] adaptive spinning mutexes

Ingo Molnar
2009-01-14T20:27:36Z

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> On Wed, 2009-01-14 at 11:36 -0800, Andrew Morton wrote:
>
> > Do people enable CONFIG_SCHED_DEBUG?
>
> Well, I have it always enabled, but I've honestly no idea if that makes
> me weird.
>
> > CONFIG_DEBUG_MUTEXES=n, CONFIG_SCHED_DEBUG=y is getting to be a pretty
> > small subset?
>
> Could be, do you fancy me doing a sysctl? shouldn't be hard.

i dunno, why another fancy sysctl for something that fits quite nicely
into the existing sched_features scheme that we've been using for such
purposes for the past 3-4 kernel releases?

we always provided various toggles for new scheduler features via
/sys/debug/sched_features, so that people can do performance regression
testing, and it works quite well.

Ingo