Re: sched domains oddness.

From: Suresh Siddha
Date: Fri Oct 31 2008 - 13:58:33 EST


On Fri, Oct 31, 2008 at 10:37:37AM -0700, Dave Jones wrote:
> Even curiouser.. When I unplug AC and replug it, it happens again, but slightly
> differently..
>
> CPU0 attaching NULL sched-domain.
> CPU1 attaching NULL sched-domain.
> CPU0 attaching sched-domain:
> domain 0: span 0-1 level MC
> groups: 0 1
> domain 1: span 0-1 level CPU
> groups: 0-1
> domain 2: span 0-1 level NODE
> groups: 0-1
> CPU1 attaching sched-domain:
> domain 0: span 0-1 level MC
> groups: 1 0
> domain 1: span 0-1 level CPU
> groups: 0-1
> domain 2: span 0-1 level NODE
> groups: 0-1
> CPU0 attaching NULL sched-domain.
> CPU1 attaching NULL sched-domain.
> CPU0 attaching sched-domain:
> domain 0: span 0-1 level MC
> groups: 0 1
> domain 1: span 0-1 level NODE
> groups: 0-1
> CPU1 attaching sched-domain:
> domain 0: span 0-1 level MC
> groups: 1 0
> domain 1: span 0-1 level NODE
> groups: 0-1
>
>
> Note how the CPU level doesn't show up in the 2nd case.

This is def coming from sched_mc_power_savings. Some battery script
or something is getting notified and setting this value. Can you do
a grep from / for sched_mc_power_savings ?

> This still doesn't explain the flip-flop I saw just from booting,
> as that was on AC the whole time.

Boot messages are def something not related to sched_mc_power_savings.

thanks,
suresh
--
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/