vserver 2.0 rc7
[linux-2.6.git] / kernel / vserver / Kconfig
index 09cf933..2658bc7 100644 (file)
@@ -23,8 +23,26 @@ config       VSERVER_LEGACY
        bool    "Enable Legacy Kernel API"
        default y
        help
-         This enables the legacy API used in vs1.xx, which allows
-         to use older tools (for migration purposes).
+         This enables the legacy API used in vs1.xx, maintaining
+         compatibility with older vserver tools, and guest images
+         that are configured using the legacy method.  This is
+         probably a good idea for now, for migration purposes.
+
+         Note that some tools have not yet been altered to use
+         this API, so disabling this option may reduce some
+         functionality.
+
+config VSERVER_LEGACY_VERSION
+       bool    "Show a Legacy Version ID"
+       depends on VSERVER_LEGACY
+       default n
+       help
+         This shows a special legacy version to very old tools
+         which do not handle the current version correctly.
+
+         This will probably disable some features of newer tools
+         so better avoid it, unless you really, really need it
+         for backwards compatibility.
 
 config VSERVER_NGNET
        bool    "Disable Legacy Networking Kernel API"
@@ -40,7 +58,12 @@ config       VSERVER_PROC_SECURE
        depends on PROC_FS
        default y
        help
-         Hide proc entries by default for xid>1
+         This configures ProcFS security to initially hide
+         non-process entries for all contexts except the main and
+         spectator context (i.e. for all guests), which is a secure
+         default.
+
+         (note: on 1.2x the entries were visible by default)
 
 config VSERVER_HARDCPU
        bool    "Enable Hard CPU Limits"
@@ -49,6 +72,15 @@ config       VSERVER_HARDCPU
        help
          Activate the Hard CPU Limits
 
+         This will compile in code that allows the Token Bucket
+         Scheduler to put processes on hold when a context's
+         tokens are depleted (provided that its per-context
+         sched_hard flag is set).
+
+         Processes belonging to that context will not be able
+         to consume CPU resources again until a per-context
+         configured minimum of tokens has been reached.
+
 config VSERVER_HARDCPU_IDLE
        bool    "Limit the IDLE task"
        depends on VSERVER_HARDCPU
@@ -56,8 +88,9 @@ config        VSERVER_HARDCPU_IDLE
        help
          Limit the idle slices, so the the next context
          will be scheduled as soon as possible.
-         might improve interactivity/latency but
-         increases scheduling overhead.
+
+         This might improve interactivity and latency, but
+         will also marginally increase scheduling overhead.
 
 choice
        prompt  "Persistent Inode Context Tagging"
@@ -65,13 +98,13 @@ choice
        help
          This adds persistent context information to filesystems
          mounted with the tagxid option. Tagging is a requirement
-         for per context disk limits and per context quota.
+         for per-context disk limits and per-context quota.
 
 
 config INOXID_NONE
        bool    "Disabled"
        help
-         no context information is store for inodes
+         do not store per-context information in inodes.
 
 config INOXID_UID16
        bool    "UID16/GID32"
@@ -111,8 +144,8 @@ config      XID_TAG_NFSD
        bool    "Tag NFSD User Auth and Files"
        default n
        help
-         Enable this if you do want the kernel nfsd to
-         use the xid tagging specified above.
+         Enable this if you do want the in-kernel NFS
+         Server to use the xid tagging specified above.
          (will require patched clients too)
 
 config VSERVER_DEBUG
@@ -121,7 +154,7 @@ config      VSERVER_DEBUG
        help
          Set this to yes if you want to be able to activate
          debugging output at runtime. It adds a probably small
-         overhead (~ ??%) to all vserver related functions and
+         overhead to all vserver related functions and
          increases the kernel size by about 20k.
 
 config VSERVER_HISTORY
@@ -130,17 +163,17 @@ config    VSERVER_HISTORY
        default n
        help
          Set this to yes if you want to record the history of
-         linux-vserver activities, so they can be replayed on
-         a kernel panic (oops)
+         linux-vserver activities, so they can be replayed in
+         the event of a kernel panic or oops.
 
 config VSERVER_HISTORY_SIZE
-       int "Per CPU History Size (32-65536)"
+       int "Per-CPU History Size (32-65536)"
        depends on VSERVER_HISTORY
        range 32 65536
        default 64
        help
          This allows you to specify the number of entries in
-         the per CPU history buffer.
+         the per-CPU history buffer.
 
 endmenu