This commit was manufactured by cvs2svn to create tag
[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 config BSD_PROCESS_ACCT_V3
119         bool "BSD Process Accounting version 3 file format"
120         depends on BSD_PROCESS_ACCT
121         default n
122         help
123           If you say Y here, the process accounting information is written
124           in a new file format that also logs the process IDs of each
125           process and it's parent. Note that this file format is incompatible
126           with previous v0/v1/v2 file formats, so you will need updated tools
127           for processing it. A preliminary version of these tools is available
128           at <http://http://www.de.kernel.org/pub/linux/utils/acct/>.
129
130 menu "Class Based Kernel Resource Management"
131
132 config CKRM
133         bool "Class Based Kernel Resource Management Core"
134         depends on EXPERIMENTAL
135         help
136           Class-based Kernel Resource Management is a framework for controlling
137           and monitoring resource allocation of user-defined groups of tasks or
138           incoming socket connections. For more information, please visit
139           http://ckrm.sf.net. 
140
141           If you say Y here, enable the Resource Class File System and atleast
142           one of the resource controllers below. Say N if you are unsure. 
143
144 config RCFS_FS
145        tristate "Resource Class File System (User API)"
146        depends on CKRM
147        help
148           RCFS is the filesystem API for CKRM. This separate configuration 
149           option is provided only for debugging and will eventually disappear 
150           since rcfs will be automounted whenever CKRM is configured. 
151
152           Say N if unsure, Y if you've enabled CKRM, M to debug rcfs 
153           initialization.
154
155 config CKRM_TYPE_TASKCLASS
156         bool "Class Manager for Task Groups"
157         depends on CKRM
158         help
159           TASKCLASS provides the extensions for CKRM to track task classes
160           This is the base to enable task class based resource control for
161           cpu, memory and disk I/O.
162         
163           Say N if unsure 
164
165 config CKRM_RES_NUMTASKS
166         tristate "Number of Tasks Resource Manager"
167         depends on CKRM_TYPE_TASKCLASS
168         default m
169         help
170           Provides a Resource Controller for CKRM that allows limiting no of
171           tasks a task class can have.
172         
173           Say N if unsure, Y to use the feature.
174
175 config CKRM_CPU_SCHEDULE
176         bool "CKRM CPU scheduler"
177         depends on CKRM_TYPE_TASKCLASS
178         default y
179         help
180           Use CKRM CPU scheduler instead of Linux Scheduler
181         
182           Say N if unsure, Y to use the feature.
183
184 config CKRM_RES_BLKIO
185         tristate " Disk I/O Resource Controller"
186         depends on CKRM_TYPE_TASKCLASS && IOSCHED_CFQ
187         default m
188         help
189           Provides a resource controller for best-effort block I/O 
190           bandwidth control. The controller attempts this by proportional 
191           servicing of requests in the I/O scheduler. However, seek
192           optimizations and reordering by device drivers/disk controllers may
193           alter the actual bandwidth delivered to a class.
194         
195           Say N if unsure, Y to use the feature.
196
197 config CKRM_RES_MEM
198         bool "Class based physical memory controller"
199         default y
200         depends on CKRM
201         help
202           Provide the basic support for collecting physical memory usage information
203           among classes. Say Y if you want to know the memory usage of each class.
204
205 config CKRM_MEM_LRUORDER_CHANGE
206         bool "Change the LRU ordering of scanned pages"
207         default n
208         depends on CKRM_RES_MEM
209         help
210           While trying to free pages, by default(n), scanned pages are left were they
211           are found if they belong to relatively under-used class. In this case the
212           LRU ordering of the memory subsystemis left intact. If this option is chosen,
213           then the scanned pages are moved to the tail of the list(active or inactive).
214           Changing this to yes reduces the checking overhead but violates the approximate
215           LRU order that is maintained by the paging subsystem.
216
217 config CKRM_CPU_SCHEDULE_AT_BOOT
218         bool "Turn on at boot time"
219         depends on CKRM_CPU_SCHEDULE
220         default n
221         help
222           Enable CKRM CPU Scheduler at boot time. Otherwise
223           it can be turned on dynamically at runtime. If not
224           turned on the default Linux Scheduler behavior 
225           will be obtained.
226
227           Say N if unsure, Y to use this feature
228
229 config CKRM_TYPE_SOCKETCLASS
230         bool "Class Manager for socket groups"
231         depends on CKRM
232         help
233           SOCKET provides the extensions for CKRM to track per socket
234           classes.  This is the base to enable socket based resource 
235           control for inbound connection control, bandwidth control etc.
236         
237           Say N if unsure.  
238
239 config CKRM_RES_LISTENAQ
240         tristate "Multiple Accept Queues Resource Manager"
241         depends on CKRM_TYPE_SOCKETCLASS && ACCEPT_QUEUES
242         default m
243         help
244           Provides a  resource controller for CKRM to prioritize inbound
245           connection requests. See inbound control description for
246           "IP: TCP Multiple accept queues support". If you choose that
247           option choose this option to control the queue weights.
248  
249           If unsure, say N.
250
251 config CKRM_RBCE
252         tristate "Vanilla Rule-based Classification Engine (RBCE)"
253         depends on CKRM && RCFS_FS
254         default m
255         help
256           Provides an optional module to support creation of rules for automatic
257           classification of kernel objects. Rules are created/deleted/modified 
258           through an rcfs interface. RBCE is not required for CKRM. 
259  
260           If unsure, say N.
261
262 config CKRM_CRBCE
263         tristate "Enhanced Rule-based Classification Engine (RBCE)"
264         depends on CKRM && RCFS_FS && RELAYFS_FS && DELAY_ACCT
265         default m
266         help
267           Provides an optional module to support creation of rules for automatic
268           classification of kernel objects, just like RBCE above. In addition,
269           CRBCE provides per-process delay data (requires DELAY_ACCT configured)
270           enabled) and makes information on significant kernel events available
271           to userspace tools through relayfs (requires RELAYFS_FS configured). 
272         
273           If unsure, say N.
274
275 endmenu
276
277 config SYSCTL
278         bool "Sysctl support"
279         ---help---
280           The sysctl interface provides a means of dynamically changing
281           certain kernel parameters and variables on the fly without requiring
282           a recompile of the kernel or reboot of the system.  The primary
283           interface consists of a system call, but if you say Y to "/proc
284           file system support", a tree of modifiable sysctl entries will be
285           generated beneath the /proc/sys directory. They are explained in the
286           files in <file:Documentation/sysctl/>.  Note that enabling this
287           option will enlarge the kernel by at least 8 KB.
288
289           As it is generally a good thing, you should say Y here unless
290           building a kernel for install/rescue disks or your system is very
291           limited in memory.
292
293 config AUDIT
294         bool "Auditing support"
295         default y if SECURITY_SELINUX
296         default n
297         help
298           Enable auditing infrastructure that can be used with another
299           kernel subsystem, such as SELinux (which requires this for
300           logging of avc messages output).  Does not do system-call
301           auditing without CONFIG_AUDITSYSCALL.
302
303 config AUDITSYSCALL
304         bool "Enable system-call auditing support"
305         depends on AUDIT && (X86 || PPC64 || ARCH_S390 || IA64)
306         default y if SECURITY_SELINUX
307         default n
308         help
309           Enable low-overhead system-call auditing infrastructure that
310           can be used independently or with another kernel subsystem,
311           such as SELinux.
312
313 config LOG_BUF_SHIFT
314         int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
315         range 12 20
316         default 17 if ARCH_S390
317         default 16 if X86_NUMAQ || IA64
318         default 15 if SMP
319         default 14
320         help
321           Select kernel log buffer size as a power of 2.
322           Defaults and Examples:
323                      17 => 128 KB for S/390
324                      16 => 64 KB for x86 NUMAQ or IA-64
325                      15 => 32 KB for SMP
326                      14 => 16 KB for uniprocessor
327                      13 =>  8 KB
328                      12 =>  4 KB
329
330 config HOTPLUG
331         bool "Support for hot-pluggable devices" if !ARCH_S390
332         default ARCH_S390
333         help
334           Say Y here if you want to plug devices into your computer while
335           the system is running, and be able to use them quickly.  In many
336           cases, the devices can likewise be unplugged at any time too.
337
338           One well known example of this is PCMCIA- or PC-cards, credit-card
339           size devices such as network cards, modems or hard drives which are
340           plugged into slots found on all modern laptop computers.  Another
341           example, used on modern desktops as well as laptops, is USB.
342
343           Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
344           software (at <http://linux-hotplug.sourceforge.net/>) and install it.
345           Then your kernel will automatically call out to a user mode "policy
346           agent" (/sbin/hotplug) to load modules and set up software needed
347           to use devices as you hotplug them.
348
349 config IKCONFIG
350         bool "Kernel .config support"
351         ---help---
352           This option enables the complete Linux kernel ".config" file
353           contents to be saved in the kernel. It provides documentation
354           of which kernel options are used in a running kernel or in an
355           on-disk kernel.  This information can be extracted from the kernel
356           image file with the script scripts/extract-ikconfig and used as
357           input to rebuild the current kernel or to build another kernel.
358           It can also be extracted from a running kernel by reading
359           /proc/config.gz if enabled (below).
360
361 config IKCONFIG_PROC
362         bool "Enable access to .config through /proc/config.gz"
363         depends on IKCONFIG && PROC_FS
364         ---help---
365           This option enables access to the kernel configuration file
366           through /proc/config.gz.
367
368 config OOM_PANIC
369         bool "OOM Panic"
370         default y
371         ---help---
372           This option enables panic() to be called when a system is out of
373           memory. This feature along with /proc/sys/kernel/panic allows a
374           different behavior on out-of-memory conditions when the standard
375           behavior (killing processes in an attempt to recover) does not
376           make sense.
377
378           If unsure, say N.
379
380 config OOM_KILL
381         bool
382         depends on !OOM_PANIC
383         default y
384
385 menuconfig EMBEDDED
386         bool "Configure standard kernel features (for small systems)"
387         help
388           This option allows certain base kernel options and settings
389           to be disabled or tweaked. This is for specialized
390           environments which can tolerate a "non-standard" kernel.
391           Only use this if you really know what you are doing.
392
393 config DELAY_ACCT
394         bool "Enable delay accounting (EXPERIMENTAL)"
395         help
396           In addition to counting frequency the total delay in ns is also
397           recorded. CPU delays are specified as cpu-wait and cpu-run. 
398           I/O delays are recorded for memory and regular I/O.
399           Information is accessible through /proc/<pid>/delay.
400
401
402 config KALLSYMS
403          bool "Load all symbols for debugging/kksymoops" if EMBEDDED
404          default y
405          help
406            Say Y here to let the kernel print out symbolic crash information and
407            symbolic stack backtraces. This increases the size of the kernel
408            somewhat, as all symbols have to be loaded into the kernel image.
409
410 config KALLSYMS_ALL
411         bool "Include all symbols in kallsyms"
412         depends on DEBUG_KERNEL && KALLSYMS
413         help
414            Normally kallsyms only contains the symbols of functions, for nicer
415            OOPS messages.  Some debuggers can use kallsyms for other
416            symbols too: say Y here to include all symbols, and you
417            don't care about adding 300k to the size of your kernel.
418
419            Say N.
420
421 config KALLSYMS_EXTRA_PASS
422         bool "Do an extra kallsyms pass"
423         depends on KALLSYMS
424         help
425            If kallsyms is not working correctly, the build will fail with
426            inconsistent kallsyms data.  If that occurs, log a bug report and
427            turn on KALLSYMS_EXTRA_PASS which should result in a stable build.
428            Always say N here unless you find a bug in kallsyms, which must be
429            reported.  KALLSYMS_EXTRA_PASS is only a temporary workaround while
430            you wait for kallsyms to be fixed.
431
432 config FUTEX
433         bool "Enable futex support" if EMBEDDED
434         default y
435         help
436           Disabling this option will cause the kernel to be built without
437           support for "fast userspace mutexes".  The resulting kernel may not
438           run glibc-based applications correctly.
439
440 config EPOLL
441         bool "Enable eventpoll support" if EMBEDDED
442         default y
443         help
444           Disabling this option will cause the kernel to be built without
445           support for epoll family of system calls.
446
447 source "drivers/block/Kconfig.iosched"
448
449 config CC_OPTIMIZE_FOR_SIZE
450         bool "Optimize for size"
451         default y if ARM || H8300
452         default n
453         help
454           Enabling this option will pass "-Os" instead of "-O2" to gcc
455           resulting in a smaller kernel.
456
457           WARNING: some versions of gcc may generate incorrect code with this
458           option.  If problems are observed, a gcc upgrade may be needed.
459
460           If unsure, say N.
461
462 endmenu         # General setup
463
464
465 menu "Loadable module support"
466
467 config MODULES
468         bool "Enable loadable module support"
469         help
470           Kernel modules are small pieces of compiled code which can
471           be inserted in the running kernel, rather than being
472           permanently built into the kernel.  You use the "modprobe"
473           tool to add (and sometimes remove) them.  If you say Y here,
474           many parts of the kernel can be built as modules (by
475           answering M instead of Y where indicated): this is most
476           useful for infrequently used options which are not required
477           for booting.  For more information, see the man pages for
478           modprobe, lsmod, modinfo, insmod and rmmod.
479
480           If you say Y here, you will need to run "make
481           modules_install" to put the modules under /lib/modules/
482           where modprobe can find them (you may need to be root to do
483           this).
484
485           If unsure, say Y.
486
487 config MODULE_UNLOAD
488         bool "Module unloading"
489         depends on MODULES
490         help
491           Without this option you will not be able to unload any
492           modules (note that some modules may not be unloadable
493           anyway), which makes your kernel slightly smaller and
494           simpler.  If unsure, say Y.
495
496 config MODULE_FORCE_UNLOAD
497         bool "Forced module unloading"
498         depends on MODULE_UNLOAD && EXPERIMENTAL
499         help
500           This option allows you to force a module to unload, even if the
501           kernel believes it is unsafe: the kernel will remove the module
502           without waiting for anyone to stop using it (using the -f option to
503           rmmod).  This is mainly for kernel developers and desperate users.
504           If unsure, say N.
505
506 config OBSOLETE_MODPARM
507         bool
508         default y
509         depends on MODULES
510         help
511           You need this option to use module parameters on modules which
512           have not been converted to the new module parameter system yet.
513           If unsure, say Y.
514
515 config MODVERSIONS
516         bool "Module versioning support (EXPERIMENTAL)"
517         depends on MODULES && EXPERIMENTAL
518         help
519           Usually, you have to use modules compiled with your kernel.
520           Saying Y here makes it sometimes possible to use modules
521           compiled for different kernels, by adding enough information
522           to the modules to (hopefully) spot any changes which would
523           make them incompatible with the kernel you are running.  If
524           unsure, say N.
525
526 config MODULE_SIG
527         bool "Module signature verification (EXPERIMENTAL)"
528         depends on MODULES && EXPERIMENTAL
529         select CRYPTO_SHA1
530         select CRYPTO_SIGNATURE
531         help
532           Check modules for valid signatures upon load.
533
534 config MODULE_SIG_FORCE
535         bool "Required modules to be validly signed (EXPERIMENTAL)"
536         depends on MODULE_SIG
537         help
538           Reject unsigned modules or signed modules for which we don't have a
539           key.
540
541 config KMOD
542         bool "Automatic kernel module loading"
543         depends on MODULES
544         help
545           Normally when you have selected some parts of the kernel to
546           be created as kernel modules, you must load them (using the
547           "modprobe" command) before you can use them. If you say Y
548           here, some parts of the kernel will be able to load modules
549           automatically: when a part of the kernel needs a module, it
550           runs modprobe with the appropriate arguments, thereby
551           loading the module if it is available.  If unsure, say Y.
552
553 config STOP_MACHINE
554         bool
555         default y
556         depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
557         help
558           Need stop_machine() primitive.
559 endmenu