ckrm-E13
[linux-2.6.git] / init / Kconfig
1
2 menu "Code maturity level options"
3
4 config EXPERIMENTAL
5         bool "Prompt for development and/or incomplete code/drivers"
6         ---help---
7           Some of the various things that Linux supports (such as network
8           drivers, file systems, network protocols, etc.) can be in a state
9           of development where the functionality, stability, or the level of
10           testing is not yet high enough for general use. This is usually
11           known as the "alpha-test" phase among developers. If a feature is
12           currently in alpha-test, then the developers usually discourage
13           uninformed widespread use of this feature by the general public to
14           avoid "Why doesn't this work?" type mail messages. However, active
15           testing and use of these systems is welcomed. Just be aware that it
16           may not meet the normal level of reliability or it may fail to work
17           in some special cases. Detailed bug reports from people familiar
18           with the kernel internals are usually welcomed by the developers
19           (before submitting bug reports, please read the documents
20           <file:README>, <file:MAINTAINERS>, <file:REPORTING-BUGS>,
21           <file:Documentation/BUG-HUNTING>, and
22           <file:Documentation/oops-tracing.txt> in the kernel source).
23
24           This option will also make obsoleted drivers available. These are
25           drivers that have been replaced by something else, and/or are
26           scheduled to be removed in a future kernel release.
27
28           Unless you intend to help test and develop a feature or driver that
29           falls into this category, or you have a situation that requires
30           using these features, you should probably say N here, which will
31           cause the configurator to present you with fewer choices. If
32           you say Y here, you will be offered the choice of using features or
33           drivers that are currently considered to be in the alpha-test phase.
34
35 config CLEAN_COMPILE
36         bool "Select only drivers expected to compile cleanly" if EXPERIMENTAL
37         default y
38         help
39           Select this option if you don't even want to see the option
40           to configure known-broken drivers.
41
42           If unsure, say Y
43
44 config STANDALONE
45         bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
46         default y
47         help
48           Select this option if you don't have magic firmware for drivers that
49           need it.
50
51           If unsure, say Y.
52
53 config BROKEN
54         bool
55         depends on !CLEAN_COMPILE
56         default y
57
58 config BROKEN_ON_SMP
59         bool
60         depends on BROKEN || !SMP
61         default y
62
63 endmenu
64
65
66 menu "General setup"
67
68 config SWAP
69         bool "Support for paging of anonymous memory (swap)"
70         depends on MMU
71         default y
72         help
73           This option allows you to choose whether you want to have support
74           for socalled swap devices or swap files in your kernel that are
75           used to provide more virtual memory than the actual RAM present
76           in your computer.  If unsure say Y.
77
78 config SYSVIPC
79         bool "System V IPC"
80         ---help---
81           Inter Process Communication is a suite of library functions and
82           system calls which let processes (running programs) synchronize and
83           exchange information. It is generally considered to be a good thing,
84           and some programs won't run unless you say Y here. In particular, if
85           you want to run the DOS emulator dosemu under Linux (read the
86           DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
87           you'll need to say Y here.
88
89           You can find documentation about IPC with "info ipc" and also in
90           section 6.4 of the Linux Programmer's Guide, available from
91           <http://www.tldp.org/guides.html>.
92
93 config POSIX_MQUEUE
94         bool "POSIX Message Queues"
95         depends on EXPERIMENTAL
96         ---help---
97           POSIX variant of message queues is a part of IPC. In POSIX message
98           queues every message has a priority which decides about succession
99           of receiving it by a process. If you want to compile and run
100           programs written e.g. for Solaris with use of its POSIX message
101           queues (functions mq_*) say Y here. To use this feature you will
102           also need mqueue library, available from
103           <http://www.mat.uni.torun.pl/~wrona/posix_ipc/>
104
105           POSIX message queues are visible as a filesystem called 'mqueue'
106           and can be mounted somewhere if you want to do filesystem
107           operations on message queues.
108
109           If unsure, say Y.
110
111 config BSD_PROCESS_ACCT
112         bool "BSD Process Accounting"
113         help
114           If you say Y here, a user level program will be able to instruct the
115           kernel (via a special system call) to write process accounting
116           information to a file: whenever a process exits, information about
117           that process will be appended to the file by the kernel.  The
118           information includes things such as creation time, owning user,
119           command name, memory usage, controlling terminal etc. (the complete
120           list is in the struct acct in <file:include/linux/acct.h>).  It is
121           up to the user level program to do useful things with this
122           information.  This is generally a good idea, so say Y.
123
124 menu "Class Based Kernel Resource Management"
125
126 config CKRM
127         bool "Class Based Kernel Resource Management Core"
128         depends on EXPERIMENTAL
129         help
130           Class-based Kernel Resource Management is a framework for controlling
131           and monitoring resource allocation of user-defined groups of tasks or
132           incoming socket connections. For more information, please visit
133           http://ckrm.sf.net. 
134
135           If you say Y here, enable the Resource Class File System and atleast
136           one of the resource controllers below. Say N if you are unsure. 
137
138 config RCFS_FS
139        tristate "Resource Class File System (User API)"
140        depends on CKRM
141        help
142           RCFS is the filesystem API for CKRM. This separate configuration 
143           option is provided only for debugging and will eventually disappear 
144           since rcfs will be automounted whenever CKRM is configured. 
145
146           Say N if unsure, Y if you've enabled CKRM, M to debug rcfs 
147           initialization.
148
149 config CKRM_TYPE_TASKCLASS
150         bool "Class Manager for Task Groups"
151         depends on CKRM
152         help
153           TASKCLASS provides the extensions for CKRM to track task classes
154           This is the base to enable task class based resource control for
155           cpu, memory and disk I/O.
156         
157           Say N if unsure 
158
159 config CKRM_RES_NUMTASKS
160         tristate "Number of Tasks Resource Manager"
161         depends on CKRM_TYPE_TASKCLASS
162         default m
163         help
164           Provides a Resource Controller for CKRM that allows limiting no of
165           tasks a task class can have.
166         
167           Say N if unsure, Y to use the feature.
168
169 config CKRM_TYPE_SOCKETCLASS
170         bool "Class Manager for socket groups"
171         depends on CKRM
172         help
173           SOCKET provides the extensions for CKRM to track per socket
174           classes.  This is the base to enable socket based resource 
175           control for inbound connection control, bandwidth control etc.
176         
177           Say N if unsure.  
178
179 config CKRM_RES_LISTENAQ
180         tristate "Multiple Accept Queues Resource Manager"
181         depends on CKRM_TYPE_SOCKETCLASS && ACCEPT_QUEUES
182         default m
183         help
184           Provides a  resource controller for CKRM to prioritize inbound
185           connection requests. See inbound control description for
186           "IP: TCP Multiple accept queues support". If you choose that
187           option choose this option to control the queue weights.
188  
189           If unsure, say N.
190
191 endmenu
192
193 config SYSCTL
194         bool "Sysctl support"
195         ---help---
196           The sysctl interface provides a means of dynamically changing
197           certain kernel parameters and variables on the fly without requiring
198           a recompile of the kernel or reboot of the system.  The primary
199           interface consists of a system call, but if you say Y to "/proc
200           file system support", a tree of modifiable sysctl entries will be
201           generated beneath the /proc/sys directory. They are explained in the
202           files in <file:Documentation/sysctl/>.  Note that enabling this
203           option will enlarge the kernel by at least 8 KB.
204
205           As it is generally a good thing, you should say Y here unless
206           building a kernel for install/rescue disks or your system is very
207           limited in memory.
208
209 config AUDIT
210         bool "Auditing support"
211         default y if SECURITY_SELINUX
212         default n
213         help
214           Enable auditing infrastructure that can be used with another
215           kernel subsystem, such as SELinux (which requires this for
216           logging of avc messages output).  Does not do system-call
217           auditing without CONFIG_AUDITSYSCALL.
218
219 config AUDITSYSCALL
220         bool "Enable system-call auditing support"
221         depends on AUDIT && (X86 || PPC64 || ARCH_S390)
222         default y if SECURITY_SELINUX
223         default n
224         help
225           Enable low-overhead system-call auditing infrastructure that
226           can be used independently or with another kernel subsystem,
227           such as SELinux.
228
229 config LOG_BUF_SHIFT
230         int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
231         range 12 20
232         default 17 if ARCH_S390
233         default 16 if X86_NUMAQ || IA64
234         default 15 if SMP
235         default 14
236         help
237           Select kernel log buffer size as a power of 2.
238           Defaults and Examples:
239                      17 => 128 KB for S/390
240                      16 => 64 KB for x86 NUMAQ or IA-64
241                      15 => 32 KB for SMP
242                      14 => 16 KB for uniprocessor
243                      13 =>  8 KB
244                      12 =>  4 KB
245
246 config HOTPLUG
247         bool "Support for hot-pluggable devices" if !ARCH_S390
248         default ARCH_S390
249         help
250           Say Y here if you want to plug devices into your computer while
251           the system is running, and be able to use them quickly.  In many
252           cases, the devices can likewise be unplugged at any time too.
253
254           One well known example of this is PCMCIA- or PC-cards, credit-card
255           size devices such as network cards, modems or hard drives which are
256           plugged into slots found on all modern laptop computers.  Another
257           example, used on modern desktops as well as laptops, is USB.
258
259           Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
260           software (at <http://linux-hotplug.sourceforge.net/>) and install it.
261           Then your kernel will automatically call out to a user mode "policy
262           agent" (/sbin/hotplug) to load modules and set up software needed
263           to use devices as you hotplug them.
264
265 config IKCONFIG
266         bool "Kernel .config support"
267         ---help---
268           This option enables the complete Linux kernel ".config" file
269           contents, information on compiler used to build the kernel,
270           kernel running when this kernel was built and kernel version
271           from Makefile to be saved in the kernel. It provides documentation
272           of which kernel options are used in a running kernel or in an
273           on-disk kernel.  This information can be extracted from the kernel
274           image file with the script scripts/extract-ikconfig and used as
275           input to rebuild the current kernel or to build another kernel.
276           It can also be extracted from a running kernel by reading
277           /proc/config.gz and /proc/config_built_with, if enabled (below).
278           /proc/config.gz will list the configuration that was used
279           to build the kernel and /proc/config_built_with will list
280           information on the compiler and host machine that was used to
281           build the kernel.
282
283 config IKCONFIG_PROC
284         bool "Enable access to .config through /proc/config.gz"
285         depends on IKCONFIG && PROC_FS
286         ---help---
287           This option enables access to kernel configuration file and build
288           information through /proc/config.gz.
289
290
291 menuconfig EMBEDDED
292         bool "Configure standard kernel features (for small systems)"
293         help
294           This option allows certain base kernel options and settings
295           to be disabled or tweaked. This is for specialized
296           environments which can tolerate a "non-standard" kernel.
297           Only use this if you really know what you are doing.
298
299 config DELAY_ACCT
300         bool "Enable delay accounting (EXPERIMENTAL)"
301         help
302           In addition to counting frequency the total delay in ns is also
303           recorded. CPU delays are specified as cpu-wait and cpu-run. Memory
304           delay is recorded for minor and major faults. Information is
305           accessible through /proc/<pid>/delay.
306
307
308 config KALLSYMS
309          bool "Load all symbols for debugging/kksymoops" if EMBEDDED
310          default y
311          help
312            Say Y here to let the kernel print out symbolic crash information and
313            symbolic stack backtraces. This increases the size of the kernel
314            somewhat, as all symbols have to be loaded into the kernel image.
315
316 config FUTEX
317         bool "Enable futex support" if EMBEDDED
318         default y
319         help
320           Disabling this option will cause the kernel to be built without
321           support for "fast userspace mutexes".  The resulting kernel may not
322           run glibc-based applications correctly.
323
324 config EPOLL
325         bool "Enable eventpoll support" if EMBEDDED
326         default y
327         help
328           Disabling this option will cause the kernel to be built without
329           support for epoll family of system calls.
330
331 source "drivers/block/Kconfig.iosched"
332
333 config CC_OPTIMIZE_FOR_SIZE
334         bool "Optimize for size" if EMBEDDED
335         default y if ARM || H8300
336         default n
337         help
338           Enabling this option will pass "-Os" instead of "-O2" to gcc
339           resulting in a smaller kernel.
340
341           WARNING: some versions of gcc may generate incorrect code with this
342           option.  If problems are observed, a gcc upgrade may be needed.
343
344           If unsure, say N.
345
346 endmenu         # General setup
347
348
349 menu "Loadable module support"
350
351 config MODULES
352         bool "Enable loadable module support"
353         help
354           Kernel modules are small pieces of compiled code which can
355           be inserted in the running kernel, rather than being
356           permanently built into the kernel.  You use the "modprobe"
357           tool to add (and sometimes remove) them.  If you say Y here,
358           many parts of the kernel can be built as modules (by
359           answering M instead of Y where indicated): this is most
360           useful for infrequently used options which are not required
361           for booting.  For more information, see the man pages for
362           modprobe, lsmod, modinfo, insmod and rmmod.
363
364           If you say Y here, you will need to run "make
365           modules_install" to put the modules under /lib/modules/
366           where modprobe can find them (you may need to be root to do
367           this).
368
369           If unsure, say Y.
370
371 config MODULE_UNLOAD
372         bool "Module unloading"
373         depends on MODULES
374         help
375           Without this option you will not be able to unload any
376           modules (note that some modules may not be unloadable
377           anyway), which makes your kernel slightly smaller and
378           simpler.  If unsure, say Y.
379
380 config MODULE_FORCE_UNLOAD
381         bool "Forced module unloading"
382         depends on MODULE_UNLOAD && EXPERIMENTAL
383         help
384           This option allows you to force a module to unload, even if the
385           kernel believes it is unsafe: the kernel will remove the module
386           without waiting for anyone to stop using it (using the -f option to
387           rmmod).  This is mainly for kernel developers and desperate users.
388           If unsure, say N.
389
390 config OBSOLETE_MODPARM
391         bool
392         default y
393         depends on MODULES
394         help
395           You need this option to use module parameters on modules which
396           have not been converted to the new module parameter system yet.
397           If unsure, say Y.
398
399 config MODVERSIONS
400         bool "Module versioning support (EXPERIMENTAL)"
401         depends on MODULES && EXPERIMENTAL
402         help
403           Usually, you have to use modules compiled with your kernel.
404           Saying Y here makes it sometimes possible to use modules
405           compiled for different kernels, by adding enough information
406           to the modules to (hopefully) spot any changes which would
407           make them incompatible with the kernel you are running.  If
408           unsure, say N.
409
410 config KMOD
411         bool "Automatic kernel module loading"
412         depends on MODULES
413         help
414           Normally when you have selected some parts of the kernel to
415           be created as kernel modules, you must load them (using the
416           "modprobe" command) before you can use them. If you say Y
417           here, some parts of the kernel will be able to load modules
418           automatically: when a part of the kernel needs a module, it
419           runs modprobe with the appropriate arguments, thereby
420           loading the module if it is available.  If unsure, say Y.
421
422 config STOP_MACHINE
423         bool
424         default y
425         depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
426         help
427           Need stop_machine() primitive.
428 endmenu