89ec58c3fb127ed50ac9c940887a084eacf14a2b
[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 BROKEN
45         bool
46         depends on !CLEAN_COMPILE
47         default y
48
49 config BROKEN_ON_SMP
50         bool
51         depends on BROKEN || !SMP
52         default y
53
54 endmenu
55
56
57 menu "General setup"
58
59 config SWAP
60         bool "Support for paging of anonymous memory (swap)"
61         depends on MMU
62         default y
63         help
64           This option allows you to choose whether you want to have support
65           for socalled swap devices or swap files in your kernel that are
66           used to provide more virtual memory than the actual RAM present
67           in your computer.  If unsure say Y.
68
69 config SYSVIPC
70         bool "System V IPC"
71         depends on MMU
72         ---help---
73           Inter Process Communication is a suite of library functions and
74           system calls which let processes (running programs) synchronize and
75           exchange information. It is generally considered to be a good thing,
76           and some programs won't run unless you say Y here. In particular, if
77           you want to run the DOS emulator dosemu under Linux (read the
78           DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
79           you'll need to say Y here.
80           DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
81           you'll need to say Y here.
82
83           You can find documentation about IPC with "info ipc" and also in
84           section 6.4 of the Linux Programmer's Guide, available from
85           <http://www.tldp.org/guides.html>.
86
87 config POSIX_MQUEUE
88         bool "POSIX Message Queues"
89         depends on NET && EXPERIMENTAL
90         ---help---
91           POSIX variant of message queues is a part of IPC. In POSIX message
92           queues every message has a priority which decides about succession
93           of receiving it by a process. If you want to compile and run
94           programs written e.g. for Solaris with use of its POSIX message
95           queues (functions mq_*) say Y here. To use this feature you will
96           also need mqueue library, available from
97           <http://www.mat.uni.torun.pl/~wrona/posix_ipc/>
98
99           POSIX message queues are visible as a filesystem called 'mqueue'
100           and can be mounted somewhere if you want to do filesystem
101           operations on message queues.
102
103           If unsure, say Y.
104
105 config BSD_PROCESS_ACCT
106         bool "BSD Process Accounting"
107         help
108           If you say Y here, a user level program will be able to instruct the
109           kernel (via a special system call) to write process accounting
110           information to a file: whenever a process exits, information about
111           that process will be appended to the file by the kernel.  The
112           information includes things such as creation time, owning user,
113           command name, memory usage, controlling terminal etc. (the complete
114           list is in the struct acct in <file:include/linux/acct.h>).  It is
115           up to the user level program to do useful things with this
116           information.  This is generally a good idea, so say Y.
117
118 menu "Class Based Kernel Resource Management"
119
120 config CKRM
121         bool "Class Based Kernel Resource Management Core"
122         depends on EXPERIMENTAL
123         help
124           Class-based Kernel Resource Management is a framework for controlling
125           and monitoring resource allocation of user-defined groups of tasks or
126           incoming socket connections. For more information, please visit
127           http://ckrm.sf.net. 
128
129           If you say Y here, enable the Resource Class File System and atleast
130           one of the resource controllers below. Say N if you are unsure. 
131
132 config RCFS_FS
133        tristate "Resource Class File System (User API)"
134        depends on CKRM
135        help
136           RCFS is the filesystem API for CKRM. This separate configuration 
137           option is provided only for debugging and will eventually disappear 
138           since rcfs will be automounted whenever CKRM is configured. 
139
140           Say N if unsure, Y if you've enabled CKRM, M to debug rcfs 
141           initialization.
142
143 config CKRM_TYPE_TASKCLASS
144         bool "Class Manager for Task Groups"
145         depends on CKRM
146         help
147           TASKCLASS provides the extensions for CKRM to track task classes
148           This is the base to enable task class based resource control for
149           cpu, memory and disk I/O.
150         
151           Say N if unsure 
152
153 config CKRM_RES_NUMTASKS
154         tristate "Number of Tasks Resource Manager"
155         depends on CKRM_TYPE_TASKCLASS
156         default m
157         help
158           Provides a Resource Controller for CKRM that allows limiting no of
159           tasks a task class can have.
160         
161           Say N if unsure, Y to use the feature.
162
163 config CKRM_CPU_SCHEDULE
164         bool "CKRM CPU scheduler"
165         depends on CKRM_TYPE_TASKCLASS
166         default m
167         help
168           Use CKRM CPU scheduler instead of Linux Scheduler
169         
170           Say N if unsure, Y to use the feature.
171
172 config CKRM_CPU_MONITOR
173         bool "CKRM CPU Resoure Monitor"
174         depends on CKRM_CPU_SCHEDULE
175         default m
176         help
177           Monitor CPU Resource Usage of the classes
178         
179           Say N if unsure, Y to use the feature.
180
181 config CKRM_TYPE_SOCKETCLASS
182         bool "Class Manager for socket groups"
183         depends on CKRM
184         help
185           SOCKET provides the extensions for CKRM to track per socket
186           classes.  This is the base to enable socket based resource 
187           control for inbound connection control, bandwidth control etc.
188         
189           Say N if unsure.  
190
191 config CKRM_RES_LISTENAQ
192         tristate "Multiple Accept Queues Resource Manager"
193         depends on CKRM_TYPE_SOCKETCLASS && ACCEPT_QUEUES
194         default m
195         help
196           Provides a  resource controller for CKRM to prioritize inbound
197           connection requests. See inbound control description for
198           "IP: TCP Multiple accept queues support". If you choose that
199           option choose this option to control the queue weights.
200  
201           If unsure, say N.
202
203 config CKRM_RBCE
204         tristate "Vanilla Rule-based Classification Engine (RBCE)"
205         depends on CKRM && RCFS_FS
206         default m
207         help
208           Provides an optional module to support creation of rules for automatic
209           classification of kernel objects. Rules are created/deleted/modified 
210           through an rcfs interface. RBCE is not required for CKRM. 
211  
212           If unsure, say N.
213
214 config CKRM_CRBCE
215         tristate "Enhanced Rule-based Classification Engine (RBCE)"
216         depends on CKRM && RCFS_FS && RELAYFS_FS && DELAY_ACCT
217         default m
218         help
219           Provides an optional module to support creation of rules for automatic
220           classification of kernel objects, just like RBCE above. In addition,
221           CRBCE provides per-process delay data (requires DELAY_ACCT configured)
222           enabled) and makes information on significant kernel events available
223           to userspace tools through relayfs (requires RELAYFS_FS configured). 
224         
225           If unsure, say N.
226
227 endmenu
228
229 config BSD_PROCESS_ACCT_V3
230         bool "BSD Process Accounting version 3 file format"
231         depends on BSD_PROCESS_ACCT
232         default n
233         help
234           If you say Y here, the process accounting information is written
235           in a new file format that also logs the process IDs of each
236           process and it's parent. Note that this file format is incompatible
237           with previous v0/v1/v2 file formats, so you will need updated tools
238           for processing it. A preliminary version of these tools is available
239           at <http://http://www.de.kernel.org/pub/linux/utils/acct/>.
240
241 config SYSCTL
242         bool "Sysctl support"
243         ---help---
244           The sysctl interface provides a means of dynamically changing
245           certain kernel parameters and variables on the fly without requiring
246           a recompile of the kernel or reboot of the system.  The primary
247           interface consists of a system call, but if you say Y to "/proc
248           file system support", a tree of modifiable sysctl entries will be
249           generated beneath the /proc/sys directory. They are explained in the
250           files in <file:Documentation/sysctl/>.  Note that enabling this
251           option will enlarge the kernel by at least 8 KB.
252
253           As it is generally a good thing, you should say Y here unless
254           building a kernel for install/rescue disks or your system is very
255           limited in memory.
256
257 config AUDIT
258         bool "Auditing support"
259         default y if SECURITY_SELINUX
260         default n
261         help
262           Enable auditing infrastructure that can be used with another
263           kernel subsystem, such as SELinux (which requires this for
264           logging of avc messages output).  Does not do system-call
265           auditing without CONFIG_AUDITSYSCALL.
266
267 config AUDITSYSCALL
268         bool "Enable system-call auditing support"
269         depends on AUDIT && (X86 || PPC64 || ARCH_S390 || IA64)
270         default y if SECURITY_SELINUX
271         default n
272         help
273           Enable low-overhead system-call auditing infrastructure that
274           can be used independently or with another kernel subsystem,
275           such as SELinux.
276
277 config LOG_BUF_SHIFT
278         int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
279         range 12 20
280         default 17 if ARCH_S390
281         default 16 if X86_NUMAQ || IA64
282         default 15 if SMP
283         default 14
284         help
285           Select kernel log buffer size as a power of 2.
286           Defaults and Examples:
287                      17 => 128 KB for S/390
288                      16 => 64 KB for x86 NUMAQ or IA-64
289                      15 => 32 KB for SMP
290                      14 => 16 KB for uniprocessor
291                      13 =>  8 KB
292                      12 =>  4 KB
293
294 config HOTPLUG
295         bool "Support for hot-pluggable devices" if !ARCH_S390
296         default ARCH_S390
297         help
298           Say Y here if you want to plug devices into your computer while
299           the system is running, and be able to use them quickly.  In many
300           cases, the devices can likewise be unplugged at any time too.
301
302           One well known example of this is PCMCIA- or PC-cards, credit-card
303           size devices such as network cards, modems or hard drives which are
304           plugged into slots found on all modern laptop computers.  Another
305           example, used on modern desktops as well as laptops, is USB.
306
307           Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
308           software (at <http://linux-hotplug.sourceforge.net/>) and install it.
309           Then your kernel will automatically call out to a user mode "policy
310           agent" (/sbin/hotplug) to load modules and set up software needed
311           to use devices as you hotplug them.
312
313 config IKCONFIG
314         bool "Kernel .config support"
315         ---help---
316           This option enables the complete Linux kernel ".config" file
317           contents to be saved in the kernel. It provides documentation
318           of which kernel options are used in a running kernel or in an
319           on-disk kernel.  This information can be extracted from the kernel
320           image file with the script scripts/extract-ikconfig and used as
321           input to rebuild the current kernel or to build another kernel.
322           It can also be extracted from a running kernel by reading
323           /proc/config.gz if enabled (below).
324
325 config IKCONFIG_PROC
326         bool "Enable access to .config through /proc/config.gz"
327         depends on IKCONFIG && PROC_FS
328         ---help---
329           This option enables access to the kernel configuration file
330           through /proc/config.gz.
331
332
333 menuconfig EMBEDDED
334         bool "Configure standard kernel features (for small systems)"
335         help
336           This option allows certain base kernel options and settings
337           to be disabled or tweaked. This is for specialized
338           environments which can tolerate a "non-standard" kernel.
339           Only use this if you really know what you are doing.
340
341 config DELAY_ACCT
342         bool "Enable delay accounting (EXPERIMENTAL)"
343         help
344           In addition to counting frequency the total delay in ns is also
345           recorded. CPU delays are specified as cpu-wait and cpu-run. 
346           I/O delays are recorded for memory and regular I/O.
347           Information is accessible through /proc/<pid>/delay.
348
349
350 config KALLSYMS
351          bool "Load all symbols for debugging/kksymoops" if EMBEDDED
352          default y
353          help
354            Say Y here to let the kernel print out symbolic crash information and
355            symbolic stack backtraces. This increases the size of the kernel
356            somewhat, as all symbols have to be loaded into the kernel image.
357
358 config KALLSYMS_ALL
359         bool "Include all symbols in kallsyms"
360         depends on DEBUG_KERNEL && KALLSYMS
361         help
362            Normally kallsyms only contains the symbols of functions, for nicer
363            OOPS messages.  Some debuggers can use kallsyms for other
364            symbols too: say Y here to include all symbols, and you
365            don't care about adding 300k to the size of your kernel.
366
367            Say N.
368
369 config KALLSYMS_EXTRA_PASS
370         bool "Do an extra kallsyms pass"
371         depends on KALLSYMS
372         help
373            If kallsyms is not working correctly, the build will fail with
374            inconsistent kallsyms data.  If that occurs, log a bug report and
375            turn on KALLSYMS_EXTRA_PASS which should result in a stable build.
376            Always say N here unless you find a bug in kallsyms, which must be
377            reported.  KALLSYMS_EXTRA_PASS is only a temporary workaround while
378            you wait for kallsyms to be fixed.
379
380 config FUTEX
381         bool "Enable futex support" if EMBEDDED
382         default y
383         help
384           Disabling this option will cause the kernel to be built without
385           support for "fast userspace mutexes".  The resulting kernel may not
386           run glibc-based applications correctly.
387
388 config EPOLL
389         bool "Enable eventpoll support" if EMBEDDED
390         default y
391         help
392           Disabling this option will cause the kernel to be built without
393           support for epoll family of system calls.
394
395 source "drivers/block/Kconfig.iosched"
396
397 config CC_OPTIMIZE_FOR_SIZE
398         bool "Optimize for size"
399         default y if ARM || H8300
400         default n
401         help
402           Enabling this option will pass "-Os" instead of "-O2" to gcc
403           resulting in a smaller kernel.
404
405           WARNING: some versions of gcc may generate incorrect code with this
406           option.  If problems are observed, a gcc upgrade may be needed.
407
408           If unsure, say N.
409
410 endmenu         # General setup
411
412
413 menu "Loadable module support"
414
415 config MODULES
416         bool "Enable loadable module support"
417         help
418           Kernel modules are small pieces of compiled code which can
419           be inserted in the running kernel, rather than being
420           permanently built into the kernel.  You use the "modprobe"
421           tool to add (and sometimes remove) them.  If you say Y here,
422           many parts of the kernel can be built as modules (by
423           answering M instead of Y where indicated): this is most
424           useful for infrequently used options which are not required
425           for booting.  For more information, see the man pages for
426           modprobe, lsmod, modinfo, insmod and rmmod.
427
428           If you say Y here, you will need to run "make
429           modules_install" to put the modules under /lib/modules/
430           where modprobe can find them (you may need to be root to do
431           this).
432
433           If unsure, say Y.
434
435 config MODULE_UNLOAD
436         bool "Module unloading"
437         depends on MODULES
438         help
439           Without this option you will not be able to unload any
440           modules (note that some modules may not be unloadable
441           anyway), which makes your kernel slightly smaller and
442           simpler.  If unsure, say Y.
443
444 config MODULE_FORCE_UNLOAD
445         bool "Forced module unloading"
446         depends on MODULE_UNLOAD && EXPERIMENTAL
447         help
448           This option allows you to force a module to unload, even if the
449           kernel believes it is unsafe: the kernel will remove the module
450           without waiting for anyone to stop using it (using the -f option to
451           rmmod).  This is mainly for kernel developers and desperate users.
452           If unsure, say N.
453
454 config OBSOLETE_MODPARM
455         bool
456         default y
457         depends on MODULES
458         help
459           You need this option to use module parameters on modules which
460           have not been converted to the new module parameter system yet.
461           If unsure, say Y.
462
463 config MODVERSIONS
464         bool "Module versioning support (EXPERIMENTAL)"
465         depends on MODULES && EXPERIMENTAL
466         help
467           Usually, you have to use modules compiled with your kernel.
468           Saying Y here makes it sometimes possible to use modules
469           compiled for different kernels, by adding enough information
470           to the modules to (hopefully) spot any changes which would
471           make them incompatible with the kernel you are running.  If
472           unsure, say N.
473
474 config MODULE_SIG
475         bool "Module signature verification (EXPERIMENTAL)"
476         depends on MODULES && EXPERIMENTAL
477         select CRYPTO_SHA1
478         select CRYPTO_SIGNATURE
479         help
480           Check modules for valid signatures upon load.
481
482 config MODULE_SIG_FORCE
483         bool "Required modules to be validly signed (EXPERIMENTAL)"
484         depends on MODULE_SIG
485         help
486           Reject unsigned modules or signed modules for which we don't have a
487           key.
488
489 config KMOD
490         bool "Automatic kernel module loading"
491         depends on MODULES
492         help
493           Normally when you have selected some parts of the kernel to
494           be created as kernel modules, you must load them (using the
495           "modprobe" command) before you can use them. If you say Y
496           here, some parts of the kernel will be able to load modules
497           automatically: when a part of the kernel needs a module, it
498           runs modprobe with the appropriate arguments, thereby
499           loading the module if it is available.  If unsure, say Y.
500
501 config STOP_MACHINE
502         bool
503         default y
504         depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
505         help
506           Need stop_machine() primitive.
507 endmenu