Merged ckrm-E15 CPU controller
[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           DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
89           you'll need to say Y here.
90
91           You can find documentation about IPC with "info ipc" and also in
92           section 6.4 of the Linux Programmer's Guide, available from
93           <http://www.tldp.org/guides.html>.
94
95 config POSIX_MQUEUE
96         bool "POSIX Message Queues"
97         depends on NET && EXPERIMENTAL
98         ---help---
99           POSIX variant of message queues is a part of IPC. In POSIX message
100           queues every message has a priority which decides about succession
101           of receiving it by a process. If you want to compile and run
102           programs written e.g. for Solaris with use of its POSIX message
103           queues (functions mq_*) say Y here. To use this feature you will
104           also need mqueue library, available from
105           <http://www.mat.uni.torun.pl/~wrona/posix_ipc/>
106
107           POSIX message queues are visible as a filesystem called 'mqueue'
108           and can be mounted somewhere if you want to do filesystem
109           operations on message queues.
110
111           If unsure, say Y.
112
113 config BSD_PROCESS_ACCT
114         bool "BSD Process Accounting"
115         help
116           If you say Y here, a user level program will be able to instruct the
117           kernel (via a special system call) to write process accounting
118           information to a file: whenever a process exits, information about
119           that process will be appended to the file by the kernel.  The
120           information includes things such as creation time, owning user,
121           command name, memory usage, controlling terminal etc. (the complete
122           list is in the struct acct in <file:include/linux/acct.h>).  It is
123           up to the user level program to do useful things with this
124           information.  This is generally a good idea, so say Y.
125
126 menu "Class Based Kernel Resource Management"
127
128 config CKRM
129         bool "Class Based Kernel Resource Management Core"
130         depends on EXPERIMENTAL
131         help
132           Class-based Kernel Resource Management is a framework for controlling
133           and monitoring resource allocation of user-defined groups of tasks or
134           incoming socket connections. For more information, please visit
135           http://ckrm.sf.net. 
136
137           If you say Y here, enable the Resource Class File System and atleast
138           one of the resource controllers below. Say N if you are unsure. 
139
140 config RCFS_FS
141        tristate "Resource Class File System (User API)"
142        depends on CKRM
143        help
144           RCFS is the filesystem API for CKRM. This separate configuration 
145           option is provided only for debugging and will eventually disappear 
146           since rcfs will be automounted whenever CKRM is configured. 
147
148           Say N if unsure, Y if you've enabled CKRM, M to debug rcfs 
149           initialization.
150
151 config CKRM_TYPE_TASKCLASS
152         bool "Class Manager for Task Groups"
153         depends on CKRM
154         help
155           TASKCLASS provides the extensions for CKRM to track task classes
156           This is the base to enable task class based resource control for
157           cpu, memory and disk I/O.
158         
159           Say N if unsure 
160
161 config CKRM_RES_NUMTASKS
162         tristate "Number of Tasks Resource Manager"
163         depends on CKRM_TYPE_TASKCLASS
164         default m
165         help
166           Provides a Resource Controller for CKRM that allows limiting no of
167           tasks a task class can have.
168         
169           Say N if unsure, Y to use the feature.
170
171 config CKRM_CPU_SCHEDULE
172         bool "CKRM CPU scheduler"
173         depends on CKRM_TYPE_TASKCLASS
174         default m
175         help
176           Use CKRM CPU scheduler instead of Linux Scheduler
177         
178           Say N if unsure, Y to use the feature.
179
180 config CKRM_CPU_MONITOR
181         tristate  "CKRM CPU Resoure Monitor"
182         depends on CKRM_CPU_SCHEDULE
183         default m
184         help
185           Monitor CPU Resource Usage of the classes
186         
187           Say N if unsure, Y to use the feature.
188
189 config CKRM_TYPE_SOCKETCLASS
190         bool "Class Manager for socket groups"
191         depends on CKRM
192         help
193           SOCKET provides the extensions for CKRM to track per socket
194           classes.  This is the base to enable socket based resource 
195           control for inbound connection control, bandwidth control etc.
196         
197           Say N if unsure.  
198
199 config CKRM_RES_LISTENAQ
200         tristate "Multiple Accept Queues Resource Manager"
201         depends on CKRM_TYPE_SOCKETCLASS && ACCEPT_QUEUES
202         default m
203         help
204           Provides a  resource controller for CKRM to prioritize inbound
205           connection requests. See inbound control description for
206           "IP: TCP Multiple accept queues support". If you choose that
207           option choose this option to control the queue weights.
208  
209           If unsure, say N.
210
211 config CKRM_RBCE
212         tristate "Vanilla Rule-based Classification Engine (RBCE)"
213         depends on CKRM && RCFS_FS
214         default m
215         help
216           Provides an optional module to support creation of rules for automatic
217           classification of kernel objects. Rules are created/deleted/modified 
218           through an rcfs interface. RBCE is not required for CKRM. 
219  
220           If unsure, say N.
221
222 config CKRM_CRBCE
223         tristate "Enhanced Rule-based Classification Engine (RBCE)"
224         depends on CKRM && RCFS_FS && RELAYFS_FS && DELAY_ACCT
225         default m
226         help
227           Provides an optional module to support creation of rules for automatic
228           classification of kernel objects, just like RBCE above. In addition,
229           CRBCE provides per-process delay data (requires DELAY_ACCT configured)
230           enabled) and makes information on significant kernel events available
231           to userspace tools through relayfs (requires RELAYFS_FS configured). 
232         
233           If unsure, say N.
234
235 endmenu
236
237 config BSD_PROCESS_ACCT_V3
238         bool "BSD Process Accounting version 3 file format"
239         depends on BSD_PROCESS_ACCT
240         default n
241         help
242           If you say Y here, the process accounting information is written
243           in a new file format that also logs the process IDs of each
244           process and it's parent. Note that this file format is incompatible
245           with previous v0/v1/v2 file formats, so you will need updated tools
246           for processing it. A preliminary version of these tools is available
247           at <http://http://www.de.kernel.org/pub/linux/utils/acct/>.
248
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)
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, information on compiler used to build the kernel,
327           kernel running when this kernel was built and kernel version
328           from Makefile to be saved in the kernel. It provides documentation
329           of which kernel options are used in a running kernel or in an
330           on-disk kernel.  This information can be extracted from the kernel
331           image file with the script scripts/extract-ikconfig and used as
332           input to rebuild the current kernel or to build another kernel.
333           It can also be extracted from a running kernel by reading
334           /proc/config.gz and /proc/config_built_with, if enabled (below).
335           /proc/config.gz will list the configuration that was used
336           to build the kernel and /proc/config_built_with will list
337           information on the compiler and host machine that was used to
338           build the kernel.
339
340 config IKCONFIG_PROC
341         bool "Enable access to .config through /proc/config.gz"
342         depends on IKCONFIG && PROC_FS
343         ---help---
344           This option enables access to kernel configuration file and build
345           information through /proc/config.gz.
346
347
348 menuconfig EMBEDDED
349         bool "Configure standard kernel features (for small systems)"
350         help
351           This option allows certain base kernel options and settings
352           to be disabled or tweaked. This is for specialized
353           environments which can tolerate a "non-standard" kernel.
354           Only use this if you really know what you are doing.
355
356 config DELAY_ACCT
357         bool "Enable delay accounting (EXPERIMENTAL)"
358         help
359           In addition to counting frequency the total delay in ns is also
360           recorded. CPU delays are specified as cpu-wait and cpu-run. 
361           I/O delays are recorded for memory and regular I/O.
362           Information is accessible through /proc/<pid>/delay.
363
364
365 config KALLSYMS
366          bool "Load all symbols for debugging/kksymoops" if EMBEDDED
367          default y
368          help
369            Say Y here to let the kernel print out symbolic crash information and
370            symbolic stack backtraces. This increases the size of the kernel
371            somewhat, as all symbols have to be loaded into the kernel image.
372
373 config KALLSYMS_ALL
374         bool "Include all symbols in kallsyms"
375         depends on DEBUG_KERNEL && KALLSYMS
376         help
377            Normally kallsyms only contains the symbols of functions, for nicer
378            OOPS messages.  Some debuggers can use kallsyms for other
379            symbols too: say Y here to include all symbols, and you
380            don't care about adding 300k to the size of your kernel.
381
382            Say N.
383
384 config FUTEX
385         bool "Enable futex support" if EMBEDDED
386         default y
387         help
388           Disabling this option will cause the kernel to be built without
389           support for "fast userspace mutexes".  The resulting kernel may not
390           run glibc-based applications correctly.
391
392 config EPOLL
393         bool "Enable eventpoll support" if EMBEDDED
394         default y
395         help
396           Disabling this option will cause the kernel to be built without
397           support for epoll family of system calls.
398
399 source "drivers/block/Kconfig.iosched"
400
401 config CC_OPTIMIZE_FOR_SIZE
402         bool "Optimize for size"
403         default y if ARM || H8300
404         default n
405         help
406           Enabling this option will pass "-Os" instead of "-O2" to gcc
407           resulting in a smaller kernel.
408
409           WARNING: some versions of gcc may generate incorrect code with this
410           option.  If problems are observed, a gcc upgrade may be needed.
411
412           If unsure, say N.
413
414 endmenu         # General setup
415
416
417 menu "Loadable module support"
418
419 config MODULES
420         bool "Enable loadable module support"
421         help
422           Kernel modules are small pieces of compiled code which can
423           be inserted in the running kernel, rather than being
424           permanently built into the kernel.  You use the "modprobe"
425           tool to add (and sometimes remove) them.  If you say Y here,
426           many parts of the kernel can be built as modules (by
427           answering M instead of Y where indicated): this is most
428           useful for infrequently used options which are not required
429           for booting.  For more information, see the man pages for
430           modprobe, lsmod, modinfo, insmod and rmmod.
431
432           If you say Y here, you will need to run "make
433           modules_install" to put the modules under /lib/modules/
434           where modprobe can find them (you may need to be root to do
435           this).
436
437           If unsure, say Y.
438
439 config MODULE_UNLOAD
440         bool "Module unloading"
441         depends on MODULES
442         help
443           Without this option you will not be able to unload any
444           modules (note that some modules may not be unloadable
445           anyway), which makes your kernel slightly smaller and
446           simpler.  If unsure, say Y.
447
448 config MODULE_FORCE_UNLOAD
449         bool "Forced module unloading"
450         depends on MODULE_UNLOAD && EXPERIMENTAL
451         help
452           This option allows you to force a module to unload, even if the
453           kernel believes it is unsafe: the kernel will remove the module
454           without waiting for anyone to stop using it (using the -f option to
455           rmmod).  This is mainly for kernel developers and desperate users.
456           If unsure, say N.
457
458 config OBSOLETE_MODPARM
459         bool
460         default y
461         depends on MODULES
462         help
463           You need this option to use module parameters on modules which
464           have not been converted to the new module parameter system yet.
465           If unsure, say Y.
466
467 config MODVERSIONS
468         bool "Module versioning support (EXPERIMENTAL)"
469         depends on MODULES && EXPERIMENTAL
470         help
471           Usually, you have to use modules compiled with your kernel.
472           Saying Y here makes it sometimes possible to use modules
473           compiled for different kernels, by adding enough information
474           to the modules to (hopefully) spot any changes which would
475           make them incompatible with the kernel you are running.  If
476           unsure, say N.
477
478 config KMOD
479         bool "Automatic kernel module loading"
480         depends on MODULES
481         help
482           Normally when you have selected some parts of the kernel to
483           be created as kernel modules, you must load them (using the
484           "modprobe" command) before you can use them. If you say Y
485           here, some parts of the kernel will be able to load modules
486           automatically: when a part of the kernel needs a module, it
487           runs modprobe with the appropriate arguments, thereby
488           loading the module if it is available.  If unsure, say Y.
489
490 config STOP_MACHINE
491         bool
492         default y
493         depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
494         help
495           Need stop_machine() primitive.
496 endmenu