[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090826093043.GA22064@in.ibm.com>
Date: Wed, 26 Aug 2009 15:00:43 +0530
From: Gautham R Shenoy <ego@...ibm.com>
To: Andreas Herrmann <andreas.herrmann3@....com>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org,
Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>,
Balbir Singh <balbir@...ibm.com>
Subject: Re: [PATCH 8/15] sched: Add parameter sched_mn_power_savings to
control MN domain sched policy
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists