Re: [RFC GIT PULL] scheduler fix for autogroups

From: Ingo Molnar
Date: Sat Dec 01 2012 - 16:44:31 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Sat, Dec 1, 2012 at 3:16 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> >
> > Please [RFC] pull the latest sched-urgent-for-linus git tree
> > from:
>
> No. That patch is braindead. I wouldn't pull it even if it
> wasn't this late.
>
> Why the hell leave a read-only 'sched_autogroup_enabled' proc
> file?
>
> What the f*ck is the point? It looks like the flag still
> exists (we test it), but now there's no point to it, since you
> can't change it.
>
> What am I missing?

You are not missing anything. That flag is my fault not Mike's:
I booted the initial version of that patch but was unsure
whether autogroups was enabled - it's a pretty transparent
feature. So I figured that having that flag (but readonly) would
give us this information definitely.

So I suggested to Mike to keep that flag so that user-space is
informed that autogroups is enabled. It seemed like a cute
usability twist at that time, and there's existing precedent for
it in /proc, but now I'm not so sure anymore...

Should we use some other file for that - or no file at all and
just emit a bootup printk for kernel hackers with a short
attention span?

Thanks,

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