Re: [-mm] Disable the memory controller by default

From: KOSAKI Motohiro
Date: Mon Apr 07 2008 - 08:12:47 EST


Hi

> diff -puN Documentation/kernel-parameters.txt~memory-controller-default-option-off Documentation/kernel-parameters.txt
> --- linux-2.6.25-rc8/Documentation/kernel-parameters.txt~memory-controller-default-option-off 2008-04-07 16:38:25.000000000 +0530
> +++ linux-2.6.25-rc8-balbir/Documentation/kernel-parameters.txt 2008-04-07 17:20:08.000000000 +0530
> @@ -381,9 +381,10 @@ and is between 256 and 4096 characters.
> ccw_timeout_log [S390]
> See Documentation/s390/CommonIO for details.
>
> - cgroup_disable= [KNL] Disable a particular controller
> - Format: {name of the controller(s) to disable}
> + cgroup_toggle= [KNL] Toggle (enable/disable) a particular controller
> + Format: {name of the controller(s) to enable/disable}
> {Currently supported controllers - "memory"}
> + {The memory controller is disabled by default}
>
> checkreqprot [SELINUX] Set initial checkreqprot flag value.
> Format: { "0" | "1" }

Hmm..

toggle parameter seems no good idea.
because if change default value in the future, boot parmeter becomes
an opposite meaning.

thus, we can't change default value even if we will be able to get
enough performance improvement in the future.

Thanks
--
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/