Re: [PATCH 8/15] sched: Add parameter sched_mn_power_savings tocontrol MN domain sched policy

From: Gautham R Shenoy
Date: Wed Aug 26 2009 - 05:31:07 EST


Hi Andreas,

On Thu, Aug 20, 2009 at 03:39:14PM +0200, Andreas Herrmann wrote:
> @@ -9208,6 +9229,11 @@ int __init sched_create_sysfs_power_savings_entries(struct sysdev_class *cls)
> err = sysfs_create_file(&cls->kset.kobj,
> &attr_sched_mc_power_savings.attr);
> #endif
> +#ifdef CONFIG_SCHED_MN
> + if (!err && mc_capable())
> + err = sysfs_create_file(&cls->kset.kobj,
> + &attr_sched_mn_power_savings.attr);
> +#endif

This would create the sysfs tunable even on systems which are
mc_capable() but don't have multi-nodes on a package, no ?

> return err;
> }
> #endif /* CONFIG_SCHED_MC || CONFIG_SCHED_SMT */
> --
> 1.6.0.4
>
>

--
Thanks and Regards
gautham
--
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/