Re: [RFC v1 PATCH 3/7] sched: Bandwidth initialization for fairtask groups

From: Andrea Righi
Date: Fri Sep 04 2009 - 06:50:16 EST


On Tue, Aug 25, 2009 at 03:19:50PM +0530, Bharata B Rao wrote:
> +config CFS_HARD_LIMITS
> + bool "Hard Limits for CFS Group Scheduler"
> + depends on EXPERIMENTAL
> + depends on FAIR_GROUP_SCHED

Shouldn't depend also on CGROUPS and CGROUP_SCHED? without them hard
limits can't be defined, right?

Signed-off-by: Andrea Righi <arighi@xxxxxxxxxxx>
---
init/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 71868a0..19c0290 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -459,7 +459,7 @@ config FAIR_GROUP_SCHED
config CFS_HARD_LIMITS
bool "Hard Limits for CFS Group Scheduler"
depends on EXPERIMENTAL
- depends on FAIR_GROUP_SCHED
+ depends on FAIR_GROUP_SCHED && CGROUPS && CGROUP_SCHED
default n
help
This option enables hard limiting of CPU time obtained by
--
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/