Re: [PATCH 0/3] scheduler include file reorganization

From: Ingo Molnar
Date: Mon Feb 11 2013 - 04:55:12 EST

* Clark Williams <williams@xxxxxxxxxx> wrote:

> I figured that was coming. :)


> I'll look at it again and see about pulling the
> autogroup/cgroup stuff into it's own header. After that it's
> probably going to require some serious changes.
> Any suggestions?

I'd suggest doing it as finegrained as possible - potentially
one concept at a time. I wouldn't mind a dozen small files in
include/linux/sched/ - possibly more.

In the end sched.h would include core wakeup/sleep methods that
tons of drivers rely on, and it would include the 'struct
task_struct' data type definition (and all its prereqs), which
we rely on in tons of drivers as well.

Not much else should remain in sched.h - in theory :-)

In terms of build coverage: just build an x86 defconfig with
perhaps the specific sub-feature (such as autogroups/cgroups)
turned off/on - I'd suggest for you to not even do allmodconfig
testing (which is really slow unless you have a cluster of build
machines), I can test all that and more and fix the fallout
before applying it.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at