vserver 1.9.3
[linux-2.6.git] / kernel / vserver / Kconfig
1 #
2 # Linux VServer configuration
3 #
4
5 menu "Linux VServer"
6
7 config  VSERVER_LEGACY
8         bool    "Enable Legacy Kernel API"
9         default y
10         help
11           This enables the legacy API used in vs1.xx, which allows
12           to use older tools (for migration purposes).
13
14 config  VSERVER_PROC_SECURE
15         bool    "Enable Proc Security"
16         depends on PROC_FS
17         default y
18         help
19           Hide proc entries by default for xid>1
20
21 config  VSERVER_HARDCPU
22         bool    "Enable Hard CPU Limits"
23         depends on EXPERIMENTAL
24         default n
25         help
26           Activate the Hard CPU Limits
27
28 config  VSERVER_HARDCPU_IDLE
29         bool    "Limit the IDLE task"
30         depends on VSERVER_HARDCPU
31         default n
32         help
33           Limit the idle slices, so the the next context
34           will be scheduled as soon as possible.
35           might improve interactivity/latency but
36           increases scheduling overhead.
37
38 choice
39         prompt  "Persistent Inode Context Tagging"
40         default INOXID_UGID24
41         help
42           This adds persistent context information to filesystems
43           mounted with the tagxid option. Tagging is a requirement
44           for per context disk limits and per context quota.
45
46
47 config  INOXID_NONE
48         bool    "Disabled"
49         help
50           no context information is store for inodes
51
52 config  INOXID_UID16
53         bool    "UID16/GID32"
54         help
55           reduces UID to 16 bit, but leaves GID at 32 bit.
56
57 config  INOXID_GID16
58         bool    "UID32/GID16"
59         help
60           reduces GID to 16 bit, but leaves UID at 32 bit.
61
62 config  INOXID_UGID24
63         bool    "UID24/GID24"
64         help
65           uses the upper 8bit from UID and GID for XID tagging
66           which leaves 24bit for UID/GID each, which should be
67           more than sufficient for normal use.
68
69 config  INOXID_INTERN
70         bool    "UID32/GID32"
71         help
72           this uses otherwise reserved inode fields in the on
73           disk representation, which limits the use to a few
74           filesystems (currently ext2 and ext3)
75
76 config  INOXID_RUNTIME
77         bool    "Runtime"
78         depends on EXPERIMENTAL
79         help
80           inodes are tagged when first accessed, this doesn't
81           require any persistant information, but might give
82           funny results for mixed access.
83
84 endchoice
85
86 config  VSERVER_DEBUG
87         bool    "Compile Debugging Code"
88         default n
89         help
90           Set this to yes if you want to be able to activate
91           debugging output at runtime. It adds a probably small
92           overhead (~ ??%) to all vserver related functions and
93           increases the kernel size by about 20k.
94
95 endmenu
96