[patch 1/3] Kconfig: Introduce CHECKPOINT_RESTORE symbol
From: Cyrill Gorcunov
Date: Mon Dec 12 2011 - 15:17:52 EST
In a sake of checkpoint/restore we need auxilary
features being compiled into the kernel, such as additional
prctl codes, /proc/<pid>/map_files and etc...
but same time these features are not mandatory for a
regular kernel so CHECKPOINT_RESTORE config symbol should
bring a way to disable them all at once if one wish to get
rid of additional functionality.
Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
---
init/Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: linux-2.6.git/init/Kconfig
===================================================================
--- linux-2.6.git.orig/init/Kconfig
+++ linux-2.6.git/init/Kconfig
@@ -773,6 +773,17 @@ config DEBUG_BLK_CGROUP
endif # CGROUPS
+config CHECKPOINT_RESTORE
+ bool "Checkpoint/restore support" if EXPERT
+ default n
+ help
+ Enables additional kernel features in a sake of checkpoint/restore.
+ In particular it adds auxiliary prctl codes to setup process text,
+ data and heap segment sizes, and a few additional /proc filesystem
+ entries.
+
+ If unsure, say N here.
+
menuconfig NAMESPACES
bool "Namespaces support" if EXPERT
default !EXPERT
--
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/