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