Kconfig 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440
  1. config ARCH
  2. string
  3. option env="ARCH"
  4. config KERNELVERSION
  5. string
  6. option env="KERNELVERSION"
  7. config DEFCONFIG_LIST
  8. string
  9. depends on !UML
  10. option defconfig_list
  11. default "/lib/modules/$UNAME_RELEASE/.config"
  12. default "/etc/kernel-config"
  13. default "/boot/config-$UNAME_RELEASE"
  14. default "$ARCH_DEFCONFIG"
  15. default "arch/$ARCH/defconfig"
  16. config CONSTRUCTORS
  17. bool
  18. depends on !UML
  19. config HAVE_IRQ_WORK
  20. bool
  21. config IRQ_WORK
  22. bool
  23. depends on HAVE_IRQ_WORK
  24. menu "General setup"
  25. config EXPERIMENTAL
  26. bool "Prompt for development and/or incomplete code/drivers"
  27. ---help---
  28. Some of the various things that Linux supports (such as network
  29. drivers, file systems, network protocols, etc.) can be in a state
  30. of development where the functionality, stability, or the level of
  31. testing is not yet high enough for general use. This is usually
  32. known as the "alpha-test" phase among developers. If a feature is
  33. currently in alpha-test, then the developers usually discourage
  34. uninformed widespread use of this feature by the general public to
  35. avoid "Why doesn't this work?" type mail messages. However, active
  36. testing and use of these systems is welcomed. Just be aware that it
  37. may not meet the normal level of reliability or it may fail to work
  38. in some special cases. Detailed bug reports from people familiar
  39. with the kernel internals are usually welcomed by the developers
  40. (before submitting bug reports, please read the documents
  41. <file:README>, <file:MAINTAINERS>, <file:REPORTING-BUGS>,
  42. <file:Documentation/BUG-HUNTING>, and
  43. <file:Documentation/oops-tracing.txt> in the kernel source).
  44. This option will also make obsoleted drivers available. These are
  45. drivers that have been replaced by something else, and/or are
  46. scheduled to be removed in a future kernel release.
  47. Unless you intend to help test and develop a feature or driver that
  48. falls into this category, or you have a situation that requires
  49. using these features, you should probably say N here, which will
  50. cause the configurator to present you with fewer choices. If
  51. you say Y here, you will be offered the choice of using features or
  52. drivers that are currently considered to be in the alpha-test phase.
  53. config BROKEN
  54. bool
  55. config BROKEN_ON_SMP
  56. bool
  57. depends on BROKEN || !SMP
  58. default y
  59. config INIT_ENV_ARG_LIMIT
  60. int
  61. default 32 if !UML
  62. default 128 if UML
  63. help
  64. Maximum of each of the number of arguments and environment
  65. variables passed to init from the kernel command line.
  66. config CROSS_COMPILE
  67. string "Cross-compiler tool prefix"
  68. help
  69. Same as running 'make CROSS_COMPILE=prefix-' but stored for
  70. default make runs in this kernel build directory. You don't
  71. need to set this unless you want the configured kernel build
  72. directory to select the cross-compiler automatically.
  73. config LOCALVERSION
  74. string "Local version - append to kernel release"
  75. help
  76. Append an extra string to the end of your kernel version.
  77. This will show up when you type uname, for example.
  78. The string you set here will be appended after the contents of
  79. any files with a filename matching localversion* in your
  80. object and source tree, in that order. Your total string can
  81. be a maximum of 64 characters.
  82. config LOCALVERSION_AUTO
  83. bool "Automatically append version information to the version string"
  84. default y
  85. help
  86. This will try to automatically determine if the current tree is a
  87. release tree by looking for git tags that belong to the current
  88. top of tree revision.
  89. A string of the format -gxxxxxxxx will be added to the localversion
  90. if a git-based tree is found. The string generated by this will be
  91. appended after any matching localversion* files, and after the value
  92. set in CONFIG_LOCALVERSION.
  93. (The actual string used here is the first eight characters produced
  94. by running the command:
  95. $ git rev-parse --verify HEAD
  96. which is done within the script "scripts/setlocalversion".)
  97. config HAVE_KERNEL_GZIP
  98. bool
  99. config HAVE_KERNEL_BZIP2
  100. bool
  101. config HAVE_KERNEL_LZMA
  102. bool
  103. config HAVE_KERNEL_XZ
  104. bool
  105. config HAVE_KERNEL_LZO
  106. bool
  107. choice
  108. prompt "Kernel compression mode"
  109. default KERNEL_GZIP
  110. depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO
  111. help
  112. The linux kernel is a kind of self-extracting executable.
  113. Several compression algorithms are available, which differ
  114. in efficiency, compression and decompression speed.
  115. Compression speed is only relevant when building a kernel.
  116. Decompression speed is relevant at each boot.
  117. If you have any problems with bzip2 or lzma compressed
  118. kernels, mail me (Alain Knaff) <alain@knaff.lu>. (An older
  119. version of this functionality (bzip2 only), for 2.4, was
  120. supplied by Christian Ludwig)
  121. High compression options are mostly useful for users, who
  122. are low on disk space (embedded systems), but for whom ram
  123. size matters less.
  124. If in doubt, select 'gzip'
  125. config KERNEL_GZIP
  126. bool "Gzip"
  127. depends on HAVE_KERNEL_GZIP
  128. help
  129. The old and tried gzip compression. It provides a good balance
  130. between compression ratio and decompression speed.
  131. config KERNEL_BZIP2
  132. bool "Bzip2"
  133. depends on HAVE_KERNEL_BZIP2
  134. help
  135. Its compression ratio and speed is intermediate.
  136. Decompression speed is slowest among the three. The kernel
  137. size is about 10% smaller with bzip2, in comparison to gzip.
  138. Bzip2 uses a large amount of memory. For modern kernels you
  139. will need at least 8MB RAM or more for booting.
  140. config KERNEL_LZMA
  141. bool "LZMA"
  142. depends on HAVE_KERNEL_LZMA
  143. help
  144. The most recent compression algorithm.
  145. Its ratio is best, decompression speed is between the other
  146. two. Compression is slowest. The kernel size is about 33%
  147. smaller with LZMA in comparison to gzip.
  148. config KERNEL_XZ
  149. bool "XZ"
  150. depends on HAVE_KERNEL_XZ
  151. help
  152. XZ uses the LZMA2 algorithm and instruction set specific
  153. BCJ filters which can improve compression ratio of executable
  154. code. The size of the kernel is about 30% smaller with XZ in
  155. comparison to gzip. On architectures for which there is a BCJ
  156. filter (i386, x86_64, ARM, IA-64, PowerPC, and SPARC), XZ
  157. will create a few percent smaller kernel than plain LZMA.
  158. The speed is about the same as with LZMA: The decompression
  159. speed of XZ is better than that of bzip2 but worse than gzip
  160. and LZO. Compression is slow.
  161. config KERNEL_LZO
  162. bool "LZO"
  163. depends on HAVE_KERNEL_LZO
  164. help
  165. Its compression ratio is the poorest among the 4. The kernel
  166. size is about 10% bigger than gzip; however its speed
  167. (both compression and decompression) is the fastest.
  168. endchoice
  169. config DEFAULT_HOSTNAME
  170. string "Default hostname"
  171. default "(none)"
  172. help
  173. This option determines the default system hostname before userspace
  174. calls sethostname(2). The kernel traditionally uses "(none)" here,
  175. but you may wish to use a different default here to make a minimal
  176. system more usable with less configuration.
  177. config SWAP
  178. bool "Support for paging of anonymous memory (swap)"
  179. depends on MMU && BLOCK
  180. default y
  181. help
  182. This option allows you to choose whether you want to have support
  183. for so called swap devices or swap files in your kernel that are
  184. used to provide more virtual memory than the actual RAM present
  185. in your computer. If unsure say Y.
  186. config SYSVIPC
  187. bool "System V IPC"
  188. ---help---
  189. Inter Process Communication is a suite of library functions and
  190. system calls which let processes (running programs) synchronize and
  191. exchange information. It is generally considered to be a good thing,
  192. and some programs won't run unless you say Y here. In particular, if
  193. you want to run the DOS emulator dosemu under Linux (read the
  194. DOSEMU-HOWTO, available from <http://www.tldp.org/docs.html#howto>),
  195. you'll need to say Y here.
  196. You can find documentation about IPC with "info ipc" and also in
  197. section 6.4 of the Linux Programmer's Guide, available from
  198. <http://www.tldp.org/guides.html>.
  199. config SYSVIPC_SYSCTL
  200. bool
  201. depends on SYSVIPC
  202. depends on SYSCTL
  203. default y
  204. config POSIX_MQUEUE
  205. bool "POSIX Message Queues"
  206. depends on NET && EXPERIMENTAL
  207. ---help---
  208. POSIX variant of message queues is a part of IPC. In POSIX message
  209. queues every message has a priority which decides about succession
  210. of receiving it by a process. If you want to compile and run
  211. programs written e.g. for Solaris with use of its POSIX message
  212. queues (functions mq_*) say Y here.
  213. POSIX message queues are visible as a filesystem called 'mqueue'
  214. and can be mounted somewhere if you want to do filesystem
  215. operations on message queues.
  216. If unsure, say Y.
  217. config POSIX_MQUEUE_SYSCTL
  218. bool
  219. depends on POSIX_MQUEUE
  220. depends on SYSCTL
  221. default y
  222. config BSD_PROCESS_ACCT
  223. bool "BSD Process Accounting"
  224. help
  225. If you say Y here, a user level program will be able to instruct the
  226. kernel (via a special system call) to write process accounting
  227. information to a file: whenever a process exits, information about
  228. that process will be appended to the file by the kernel. The
  229. information includes things such as creation time, owning user,
  230. command name, memory usage, controlling terminal etc. (the complete
  231. list is in the struct acct in <file:include/linux/acct.h>). It is
  232. up to the user level program to do useful things with this
  233. information. This is generally a good idea, so say Y.
  234. config BSD_PROCESS_ACCT_V3
  235. bool "BSD Process Accounting version 3 file format"
  236. depends on BSD_PROCESS_ACCT
  237. default n
  238. help
  239. If you say Y here, the process accounting information is written
  240. in a new file format that also logs the process IDs of each
  241. process and it's parent. Note that this file format is incompatible
  242. with previous v0/v1/v2 file formats, so you will need updated tools
  243. for processing it. A preliminary version of these tools is available
  244. at <http://www.gnu.org/software/acct/>.
  245. config FHANDLE
  246. bool "open by fhandle syscalls"
  247. select EXPORTFS
  248. help
  249. If you say Y here, a user level program will be able to map
  250. file names to handle and then later use the handle for
  251. different file system operations. This is useful in implementing
  252. userspace file servers, which now track files using handles instead
  253. of names. The handle would remain the same even if file names
  254. get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
  255. syscalls.
  256. config TASKSTATS
  257. bool "Export task/process statistics through netlink (EXPERIMENTAL)"
  258. depends on NET
  259. default n
  260. help
  261. Export selected statistics for tasks/processes through the
  262. generic netlink interface. Unlike BSD process accounting, the
  263. statistics are available during the lifetime of tasks/processes as
  264. responses to commands. Like BSD accounting, they are sent to user
  265. space on task exit.
  266. Say N if unsure.
  267. config TASK_DELAY_ACCT
  268. bool "Enable per-task delay accounting (EXPERIMENTAL)"
  269. depends on TASKSTATS
  270. help
  271. Collect information on time spent by a task waiting for system
  272. resources like cpu, synchronous block I/O completion and swapping
  273. in pages. Such statistics can help in setting a task's priorities
  274. relative to other tasks for cpu, io, rss limits etc.
  275. Say N if unsure.
  276. config TASK_XACCT
  277. bool "Enable extended accounting over taskstats (EXPERIMENTAL)"
  278. depends on TASKSTATS
  279. help
  280. Collect extended task accounting data and send the data
  281. to userland for processing over the taskstats interface.
  282. Say N if unsure.
  283. config TASK_IO_ACCOUNTING
  284. bool "Enable per-task storage I/O accounting (EXPERIMENTAL)"
  285. depends on TASK_XACCT
  286. help
  287. Collect information on the number of bytes of storage I/O which this
  288. task has caused.
  289. Say N if unsure.
  290. config AUDIT
  291. bool "Auditing support"
  292. depends on NET
  293. help
  294. Enable auditing infrastructure that can be used with another
  295. kernel subsystem, such as SELinux (which requires this for
  296. logging of avc messages output). Does not do system-call
  297. auditing without CONFIG_AUDITSYSCALL.
  298. config AUDITSYSCALL
  299. bool "Enable system-call auditing support"
  300. depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || ARM)
  301. default y if SECURITY_SELINUX
  302. help
  303. Enable low-overhead system-call auditing infrastructure that
  304. can be used independently or with another kernel subsystem,
  305. such as SELinux.
  306. config AUDIT_WATCH
  307. def_bool y
  308. depends on AUDITSYSCALL
  309. select FSNOTIFY
  310. config AUDIT_TREE
  311. def_bool y
  312. depends on AUDITSYSCALL
  313. select FSNOTIFY
  314. config AUDIT_LOGINUID_IMMUTABLE
  315. bool "Make audit loginuid immutable"
  316. depends on AUDIT
  317. help
  318. The config option toggles if a task setting its loginuid requires
  319. CAP_SYS_AUDITCONTROL or if that task should require no special permissions
  320. but should instead only allow setting its loginuid if it was never
  321. previously set. On systems which use systemd or a similar central
  322. process to restart login services this should be set to true. On older
  323. systems in which an admin would typically have to directly stop and
  324. start processes this should be set to false. Setting this to true allows
  325. one to drop potentially dangerous capabilites from the login tasks,
  326. but may not be backwards compatible with older init systems.
  327. source "kernel/irq/Kconfig"
  328. source "kernel/time/Kconfig"
  329. menu "RCU Subsystem"
  330. choice
  331. prompt "RCU Implementation"
  332. default TREE_RCU
  333. config TREE_RCU
  334. bool "Tree-based hierarchical RCU"
  335. depends on !PREEMPT && SMP
  336. help
  337. This option selects the RCU implementation that is
  338. designed for very large SMP system with hundreds or
  339. thousands of CPUs. It also scales down nicely to
  340. smaller systems.
  341. config TREE_PREEMPT_RCU
  342. bool "Preemptible tree-based hierarchical RCU"
  343. depends on PREEMPT && SMP
  344. help
  345. This option selects the RCU implementation that is
  346. designed for very large SMP systems with hundreds or
  347. thousands of CPUs, but for which real-time response
  348. is also required. It also scales down nicely to
  349. smaller systems.
  350. config TINY_RCU
  351. bool "UP-only small-memory-footprint RCU"
  352. depends on !PREEMPT && !SMP
  353. help
  354. This option selects the RCU implementation that is
  355. designed for UP systems from which real-time response
  356. is not required. This option greatly reduces the
  357. memory footprint of RCU.
  358. config TINY_PREEMPT_RCU
  359. bool "Preemptible UP-only small-memory-footprint RCU"
  360. depends on PREEMPT && !SMP
  361. help
  362. This option selects the RCU implementation that is designed
  363. for real-time UP systems. This option greatly reduces the
  364. memory footprint of RCU.
  365. endchoice
  366. config PREEMPT_RCU
  367. def_bool ( TREE_PREEMPT_RCU || TINY_PREEMPT_RCU )
  368. help
  369. This option enables preemptible-RCU code that is common between
  370. the TREE_PREEMPT_RCU and TINY_PREEMPT_RCU implementations.
  371. config RCU_FANOUT
  372. int "Tree-based hierarchical RCU fanout value"
  373. range 2 64 if 64BIT
  374. range 2 32 if !64BIT
  375. depends on TREE_RCU || TREE_PREEMPT_RCU
  376. default 64 if 64BIT
  377. default 32 if !64BIT
  378. help
  379. This option controls the fanout of hierarchical implementations
  380. of RCU, allowing RCU to work efficiently on machines with
  381. large numbers of CPUs. This value must be at least the fourth
  382. root of NR_CPUS, which allows NR_CPUS to be insanely large.
  383. The default value of RCU_FANOUT should be used for production
  384. systems, but if you are stress-testing the RCU implementation
  385. itself, small RCU_FANOUT values allow you to test large-system
  386. code paths on small(er) systems.
  387. Select a specific number if testing RCU itself.
  388. Take the default if unsure.
  389. config RCU_FANOUT_EXACT
  390. bool "Disable tree-based hierarchical RCU auto-balancing"
  391. depends on TREE_RCU || TREE_PREEMPT_RCU
  392. default n
  393. help
  394. This option forces use of the exact RCU_FANOUT value specified,
  395. regardless of imbalances in the hierarchy. This is useful for
  396. testing RCU itself, and might one day be useful on systems with
  397. strong NUMA behavior.
  398. Without RCU_FANOUT_EXACT, the code will balance the hierarchy.
  399. Say N if unsure.
  400. config RCU_FAST_NO_HZ
  401. bool "Accelerate last non-dyntick-idle CPU's grace periods"
  402. depends on NO_HZ && SMP
  403. default n
  404. help
  405. This option causes RCU to attempt to accelerate grace periods
  406. in order to allow CPUs to enter dynticks-idle state more
  407. quickly. On the other hand, this option increases the overhead
  408. of the dynticks-idle checking, particularly on systems with
  409. large numbers of CPUs.
  410. Say Y if energy efficiency is critically important, particularly
  411. if you have relatively few CPUs.
  412. Say N if you are unsure.
  413. config TREE_RCU_TRACE
  414. def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU )
  415. select DEBUG_FS
  416. help
  417. This option provides tracing for the TREE_RCU and
  418. TREE_PREEMPT_RCU implementations, permitting Makefile to
  419. trivially select kernel/rcutree_trace.c.
  420. config RCU_BOOST
  421. bool "Enable RCU priority boosting"
  422. depends on RT_MUTEXES && PREEMPT_RCU
  423. default n
  424. help
  425. This option boosts the priority of preempted RCU readers that
  426. block the current preemptible RCU grace period for too long.
  427. This option also prevents heavy loads from blocking RCU
  428. callback invocation for all flavors of RCU.
  429. Say Y here if you are working with real-time apps or heavy loads
  430. Say N here if you are unsure.
  431. config RCU_BOOST_PRIO
  432. int "Real-time priority to boost RCU readers to"
  433. range 1 99
  434. depends on RCU_BOOST
  435. default 1
  436. help
  437. This option specifies the real-time priority to which preempted
  438. RCU readers are to be boosted. If you are working with CPU-bound
  439. real-time applications, you should specify a priority higher then
  440. the highest-priority CPU-bound application.
  441. Specify the real-time priority, or take the default if unsure.
  442. config RCU_BOOST_DELAY
  443. int "Milliseconds to delay boosting after RCU grace-period start"
  444. range 0 3000
  445. depends on RCU_BOOST
  446. default 500
  447. help
  448. This option specifies the time to wait after the beginning of
  449. a given grace period before priority-boosting preempted RCU
  450. readers blocking that grace period. Note that any RCU reader
  451. blocking an expedited RCU grace period is boosted immediately.
  452. Accept the default if unsure.
  453. endmenu # "RCU Subsystem"
  454. config IKCONFIG
  455. tristate "Kernel .config support"
  456. ---help---
  457. This option enables the complete Linux kernel ".config" file
  458. contents to be saved in the kernel. It provides documentation
  459. of which kernel options are used in a running kernel or in an
  460. on-disk kernel. This information can be extracted from the kernel
  461. image file with the script scripts/extract-ikconfig and used as
  462. input to rebuild the current kernel or to build another kernel.
  463. It can also be extracted from a running kernel by reading
  464. /proc/config.gz if enabled (below).
  465. config IKCONFIG_PROC
  466. bool "Enable access to .config through /proc/config.gz"
  467. depends on IKCONFIG && PROC_FS
  468. ---help---
  469. This option enables access to the kernel configuration file
  470. through /proc/config.gz.
  471. config LOG_BUF_SHIFT
  472. int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
  473. range 12 21
  474. default 17
  475. help
  476. Select kernel log buffer size as a power of 2.
  477. Examples:
  478. 17 => 128 KB
  479. 16 => 64 KB
  480. 15 => 32 KB
  481. 14 => 16 KB
  482. 13 => 8 KB
  483. 12 => 4 KB
  484. #
  485. # Architectures with an unreliable sched_clock() should select this:
  486. #
  487. config HAVE_UNSTABLE_SCHED_CLOCK
  488. bool
  489. menuconfig CGROUPS
  490. boolean "Control Group support"
  491. depends on EVENTFD
  492. help
  493. This option adds support for grouping sets of processes together, for
  494. use with process control subsystems such as Cpusets, CFS, memory
  495. controls or device isolation.
  496. See
  497. - Documentation/scheduler/sched-design-CFS.txt (CFS)
  498. - Documentation/cgroups/ (features for grouping, isolation
  499. and resource control)
  500. Say N if unsure.
  501. if CGROUPS
  502. config CGROUP_DEBUG
  503. bool "Example debug cgroup subsystem"
  504. default n
  505. help
  506. This option enables a simple cgroup subsystem that
  507. exports useful debugging information about the cgroups
  508. framework.
  509. Say N if unsure.
  510. config CGROUP_FREEZER
  511. bool "Freezer cgroup subsystem"
  512. help
  513. Provides a way to freeze and unfreeze all tasks in a
  514. cgroup.
  515. config CGROUP_DEVICE
  516. bool "Device controller for cgroups"
  517. help
  518. Provides a cgroup implementing whitelists for devices which
  519. a process in the cgroup can mknod or open.
  520. config CPUSETS
  521. bool "Cpuset support"
  522. help
  523. This option will let you create and manage CPUSETs which
  524. allow dynamically partitioning a system into sets of CPUs and
  525. Memory Nodes and assigning tasks to run only within those sets.
  526. This is primarily useful on large SMP or NUMA systems.
  527. Say N if unsure.
  528. config PROC_PID_CPUSET
  529. bool "Include legacy /proc/<pid>/cpuset file"
  530. depends on CPUSETS
  531. default y
  532. config CGROUP_CPUACCT
  533. bool "Simple CPU accounting cgroup subsystem"
  534. help
  535. Provides a simple Resource Controller for monitoring the
  536. total CPU consumed by the tasks in a cgroup.
  537. config RESOURCE_COUNTERS
  538. bool "Resource counters"
  539. help
  540. This option enables controller independent resource accounting
  541. infrastructure that works with cgroups.
  542. config CGROUP_MEM_RES_CTLR
  543. bool "Memory Resource Controller for Control Groups"
  544. depends on RESOURCE_COUNTERS
  545. select MM_OWNER
  546. help
  547. Provides a memory resource controller that manages both anonymous
  548. memory and page cache. (See Documentation/cgroups/memory.txt)
  549. Note that setting this option increases fixed memory overhead
  550. associated with each page of memory in the system. By this,
  551. 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  552. usage tracking struct at boot. Total amount of this is printed out
  553. at boot.
  554. Only enable when you're ok with these trade offs and really
  555. sure you need the memory resource controller. Even when you enable
  556. this, you can set "cgroup_disable=memory" at your boot option to
  557. disable memory resource controller and you can avoid overheads.
  558. (and lose benefits of memory resource controller)
  559. This config option also selects MM_OWNER config option, which
  560. could in turn add some fork/exit overhead.
  561. config CGROUP_MEM_RES_CTLR_SWAP
  562. bool "Memory Resource Controller Swap Extension"
  563. depends on CGROUP_MEM_RES_CTLR && SWAP
  564. help
  565. Add swap management feature to memory resource controller. When you
  566. enable this, you can limit mem+swap usage per cgroup. In other words,
  567. when you disable this, memory resource controller has no cares to
  568. usage of swap...a process can exhaust all of the swap. This extension
  569. is useful when you want to avoid exhaustion swap but this itself
  570. adds more overheads and consumes memory for remembering information.
  571. Especially if you use 32bit system or small memory system, please
  572. be careful about enabling this. When memory resource controller
  573. is disabled by boot option, this will be automatically disabled and
  574. there will be no overhead from this. Even when you set this config=y,
  575. if boot option "swapaccount=0" is set, swap will not be accounted.
  576. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
  577. size is 4096bytes, 512k per 1Gbytes of swap.
  578. config CGROUP_MEM_RES_CTLR_SWAP_ENABLED
  579. bool "Memory Resource Controller Swap Extension enabled by default"
  580. depends on CGROUP_MEM_RES_CTLR_SWAP
  581. default y
  582. help
  583. Memory Resource Controller Swap Extension comes with its price in
  584. a bigger memory consumption. General purpose distribution kernels
  585. which want to enable the feature but keep it disabled by default
  586. and let the user enable it by swapaccount boot command line
  587. parameter should have this option unselected.
  588. For those who want to have the feature enabled by default should
  589. select this option (if, for some reason, they need to disable it
  590. then swapaccount=0 does the trick).
  591. config CGROUP_MEM_RES_CTLR_KMEM
  592. bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)"
  593. depends on CGROUP_MEM_RES_CTLR && EXPERIMENTAL
  594. default n
  595. help
  596. The Kernel Memory extension for Memory Resource Controller can limit
  597. the amount of memory used by kernel objects in the system. Those are
  598. fundamentally different from the entities handled by the standard
  599. Memory Controller, which are page-based, and can be swapped. Users of
  600. the kmem extension can use it to guarantee that no group of processes
  601. will ever exhaust kernel resources alone.
  602. config CGROUP_PERF
  603. bool "Enable perf_event per-cpu per-container group (cgroup) monitoring"
  604. depends on PERF_EVENTS && CGROUPS
  605. help
  606. This option extends the per-cpu mode to restrict monitoring to
  607. threads which belong to the cgroup specified and run on the
  608. designated cpu.
  609. Say N if unsure.
  610. menuconfig CGROUP_SCHED
  611. bool "Group CPU scheduler"
  612. default n
  613. help
  614. This feature lets CPU scheduler recognize task groups and control CPU
  615. bandwidth allocation to such task groups. It uses cgroups to group
  616. tasks.
  617. if CGROUP_SCHED
  618. config FAIR_GROUP_SCHED
  619. bool "Group scheduling for SCHED_OTHER"
  620. depends on CGROUP_SCHED
  621. default CGROUP_SCHED
  622. config CFS_BANDWIDTH
  623. bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
  624. depends on EXPERIMENTAL
  625. depends on FAIR_GROUP_SCHED
  626. default n
  627. help
  628. This option allows users to define CPU bandwidth rates (limits) for
  629. tasks running within the fair group scheduler. Groups with no limit
  630. set are considered to be unconstrained and will run with no
  631. restriction.
  632. See tip/Documentation/scheduler/sched-bwc.txt for more information.
  633. config RT_GROUP_SCHED
  634. bool "Group scheduling for SCHED_RR/FIFO"
  635. depends on EXPERIMENTAL
  636. depends on CGROUP_SCHED
  637. default n
  638. help
  639. This feature lets you explicitly allocate real CPU bandwidth
  640. to task groups. If enabled, it will also make it impossible to
  641. schedule realtime tasks for non-root users until you allocate
  642. realtime bandwidth for them.
  643. See Documentation/scheduler/sched-rt-group.txt for more information.
  644. endif #CGROUP_SCHED
  645. config BLK_CGROUP
  646. tristate "Block IO controller"
  647. depends on BLOCK
  648. default n
  649. ---help---
  650. Generic block IO controller cgroup interface. This is the common
  651. cgroup interface which should be used by various IO controlling
  652. policies.
  653. Currently, CFQ IO scheduler uses it to recognize task groups and
  654. control disk bandwidth allocation (proportional time slice allocation)
  655. to such task groups. It is also used by bio throttling logic in
  656. block layer to implement upper limit in IO rates on a device.
  657. This option only enables generic Block IO controller infrastructure.
  658. One needs to also enable actual IO controlling logic/policy. For
  659. enabling proportional weight division of disk bandwidth in CFQ, set
  660. CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
  661. CONFIG_BLK_DEV_THROTTLING=y.
  662. See Documentation/cgroups/blkio-controller.txt for more information.
  663. config DEBUG_BLK_CGROUP
  664. bool "Enable Block IO controller debugging"
  665. depends on BLK_CGROUP
  666. default n
  667. ---help---
  668. Enable some debugging help. Currently it exports additional stat
  669. files in a cgroup which can be useful for debugging.
  670. endif # CGROUPS
  671. config CHECKPOINT_RESTORE
  672. bool "Checkpoint/restore support" if EXPERT
  673. default n
  674. help
  675. Enables additional kernel features in a sake of checkpoint/restore.
  676. In particular it adds auxiliary prctl codes to setup process text,
  677. data and heap segment sizes, and a few additional /proc filesystem
  678. entries.
  679. If unsure, say N here.
  680. menuconfig NAMESPACES
  681. bool "Namespaces support" if EXPERT
  682. default !EXPERT
  683. help
  684. Provides the way to make tasks work with different objects using
  685. the same id. For example same IPC id may refer to different objects
  686. or same user id or pid may refer to different tasks when used in
  687. different namespaces.
  688. if NAMESPACES
  689. config UTS_NS
  690. bool "UTS namespace"
  691. default y
  692. help
  693. In this namespace tasks see different info provided with the
  694. uname() system call
  695. config IPC_NS
  696. bool "IPC namespace"
  697. depends on (SYSVIPC || POSIX_MQUEUE)
  698. default y
  699. help
  700. In this namespace tasks work with IPC ids which correspond to
  701. different IPC objects in different namespaces.
  702. config USER_NS
  703. bool "User namespace (EXPERIMENTAL)"
  704. depends on EXPERIMENTAL
  705. default y
  706. help
  707. This allows containers, i.e. vservers, to use user namespaces
  708. to provide different user info for different servers.
  709. If unsure, say N.
  710. config PID_NS
  711. bool "PID Namespaces"
  712. default y
  713. help
  714. Support process id namespaces. This allows having multiple
  715. processes with the same pid as long as they are in different
  716. pid namespaces. This is a building block of containers.
  717. config NET_NS
  718. bool "Network namespace"
  719. depends on NET
  720. default y
  721. help
  722. Allow user space to create what appear to be multiple instances
  723. of the network stack.
  724. endif # NAMESPACES
  725. config SCHED_AUTOGROUP
  726. bool "Automatic process group scheduling"
  727. select EVENTFD
  728. select CGROUPS
  729. select CGROUP_SCHED
  730. select FAIR_GROUP_SCHED
  731. help
  732. This option optimizes the scheduler for common desktop workloads by
  733. automatically creating and populating task groups. This separation
  734. of workloads isolates aggressive CPU burners (like build jobs) from
  735. desktop applications. Task group autogeneration is currently based
  736. upon task session.
  737. config MM_OWNER
  738. bool
  739. config SYSFS_DEPRECATED
  740. bool "Enable deprecated sysfs features to support old userspace tools"
  741. depends on SYSFS
  742. default n
  743. help
  744. This option adds code that switches the layout of the "block" class
  745. devices, to not show up in /sys/class/block/, but only in
  746. /sys/block/.
  747. This switch is only active when the sysfs.deprecated=1 boot option is
  748. passed or the SYSFS_DEPRECATED_V2 option is set.
  749. This option allows new kernels to run on old distributions and tools,
  750. which might get confused by /sys/class/block/. Since 2007/2008 all
  751. major distributions and tools handle this just fine.
  752. Recent distributions and userspace tools after 2009/2010 depend on
  753. the existence of /sys/class/block/, and will not work with this
  754. option enabled.
  755. Only if you are using a new kernel on an old distribution, you might
  756. need to say Y here.
  757. config SYSFS_DEPRECATED_V2
  758. bool "Enable deprecated sysfs features by default"
  759. default n
  760. depends on SYSFS
  761. depends on SYSFS_DEPRECATED
  762. help
  763. Enable deprecated sysfs by default.
  764. See the CONFIG_SYSFS_DEPRECATED option for more details about this
  765. option.
  766. Only if you are using a new kernel on an old distribution, you might
  767. need to say Y here. Even then, odds are you would not need it
  768. enabled, you can always pass the boot option if absolutely necessary.
  769. config RELAY
  770. bool "Kernel->user space relay support (formerly relayfs)"
  771. help
  772. This option enables support for relay interface support in
  773. certain file systems (such as debugfs).
  774. It is designed to provide an efficient mechanism for tools and
  775. facilities to relay large amounts of data from kernel space to
  776. user space.
  777. If unsure, say N.
  778. config BLK_DEV_INITRD
  779. bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
  780. depends on BROKEN || !FRV
  781. help
  782. The initial RAM filesystem is a ramfs which is loaded by the
  783. boot loader (loadlin or lilo) and that is mounted as root
  784. before the normal boot procedure. It is typically used to
  785. load modules needed to mount the "real" root file system,
  786. etc. See <file:Documentation/initrd.txt> for details.
  787. If RAM disk support (BLK_DEV_RAM) is also included, this
  788. also enables initial RAM disk (initrd) support and adds
  789. 15 Kbytes (more on some other architectures) to the kernel size.
  790. If unsure say Y.
  791. if BLK_DEV_INITRD
  792. source "usr/Kconfig"
  793. endif
  794. config CC_OPTIMIZE_FOR_SIZE
  795. bool "Optimize for size"
  796. help
  797. Enabling this option will pass "-Os" instead of "-O2" to gcc
  798. resulting in a smaller kernel.
  799. If unsure, say Y.
  800. config SYSCTL
  801. bool
  802. config ANON_INODES
  803. bool
  804. menuconfig EXPERT
  805. bool "Configure standard kernel features (expert users)"
  806. # Unhide debug options, to make the on-by-default options visible
  807. select DEBUG_KERNEL
  808. help
  809. This option allows certain base kernel options and settings
  810. to be disabled or tweaked. This is for specialized
  811. environments which can tolerate a "non-standard" kernel.
  812. Only use this if you really know what you are doing.
  813. config UID16
  814. bool "Enable 16-bit UID system calls" if EXPERT
  815. depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
  816. default y
  817. help
  818. This enables the legacy 16-bit UID syscall wrappers.
  819. config SYSCTL_SYSCALL
  820. bool "Sysctl syscall support" if EXPERT
  821. depends on PROC_SYSCTL
  822. default n
  823. select SYSCTL
  824. ---help---
  825. sys_sysctl uses binary paths that have been found challenging
  826. to properly maintain and use. The interface in /proc/sys
  827. using paths with ascii names is now the primary path to this
  828. information.
  829. Almost nothing using the binary sysctl interface so if you are
  830. trying to save some space it is probably safe to disable this,
  831. making your kernel marginally smaller.
  832. If unsure say N here.
  833. config KALLSYMS
  834. bool "Load all symbols for debugging/ksymoops" if EXPERT
  835. default y
  836. help
  837. Say Y here to let the kernel print out symbolic crash information and
  838. symbolic stack backtraces. This increases the size of the kernel
  839. somewhat, as all symbols have to be loaded into the kernel image.
  840. config KALLSYMS_ALL
  841. bool "Include all symbols in kallsyms"
  842. depends on DEBUG_KERNEL && KALLSYMS
  843. help
  844. Normally kallsyms only contains the symbols of functions for nicer
  845. OOPS messages and backtraces (i.e., symbols from the text and inittext
  846. sections). This is sufficient for most cases. And only in very rare
  847. cases (e.g., when a debugger is used) all symbols are required (e.g.,
  848. names of variables from the data sections, etc).
  849. This option makes sure that all symbols are loaded into the kernel
  850. image (i.e., symbols from all sections) in cost of increased kernel
  851. size (depending on the kernel configuration, it may be 300KiB or
  852. something like this).
  853. Say N unless you really need all symbols.
  854. config HOTPLUG
  855. bool "Support for hot-pluggable devices" if EXPERT
  856. default y
  857. help
  858. This option is provided for the case where no hotplug or uevent
  859. capabilities is wanted by the kernel. You should only consider
  860. disabling this option for embedded systems that do not use modules, a
  861. dynamic /dev tree, or dynamic device discovery. Just say Y.
  862. config PRINTK
  863. default y
  864. bool "Enable support for printk" if EXPERT
  865. help
  866. This option enables normal printk support. Removing it
  867. eliminates most of the message strings from the kernel image
  868. and makes the kernel more or less silent. As this makes it
  869. very difficult to diagnose system problems, saying N here is
  870. strongly discouraged.
  871. config BUG
  872. bool "BUG() support" if EXPERT
  873. default y
  874. help
  875. Disabling this option eliminates support for BUG and WARN, reducing
  876. the size of your kernel image and potentially quietly ignoring
  877. numerous fatal conditions. You should only consider disabling this
  878. option for embedded systems with no facilities for reporting errors.
  879. Just say Y.
  880. config ELF_CORE
  881. default y
  882. bool "Enable ELF core dumps" if EXPERT
  883. help
  884. Enable support for generating core dumps. Disabling saves about 4k.
  885. config PCSPKR_PLATFORM
  886. bool "Enable PC-Speaker support" if EXPERT
  887. depends on HAVE_PCSPKR_PLATFORM
  888. select I8253_LOCK
  889. default y
  890. help
  891. This option allows to disable the internal PC-Speaker
  892. support, saving some memory.
  893. config HAVE_PCSPKR_PLATFORM
  894. bool
  895. config BASE_FULL
  896. default y
  897. bool "Enable full-sized data structures for core" if EXPERT
  898. help
  899. Disabling this option reduces the size of miscellaneous core
  900. kernel data structures. This saves memory on small machines,
  901. but may reduce performance.
  902. config FUTEX
  903. bool "Enable futex support" if EXPERT
  904. default y
  905. select RT_MUTEXES
  906. help
  907. Disabling this option will cause the kernel to be built without
  908. support for "fast userspace mutexes". The resulting kernel may not
  909. run glibc-based applications correctly.
  910. config EPOLL
  911. bool "Enable eventpoll support" if EXPERT
  912. default y
  913. select ANON_INODES
  914. help
  915. Disabling this option will cause the kernel to be built without
  916. support for epoll family of system calls.
  917. config SIGNALFD
  918. bool "Enable signalfd() system call" if EXPERT
  919. select ANON_INODES
  920. default y
  921. help
  922. Enable the signalfd() system call that allows to receive signals
  923. on a file descriptor.
  924. If unsure, say Y.
  925. config TIMERFD
  926. bool "Enable timerfd() system call" if EXPERT
  927. select ANON_INODES
  928. default y
  929. help
  930. Enable the timerfd() system call that allows to receive timer
  931. events on a file descriptor.
  932. If unsure, say Y.
  933. config EVENTFD
  934. bool "Enable eventfd() system call" if EXPERT
  935. select ANON_INODES
  936. default y
  937. help
  938. Enable the eventfd() system call that allows to receive both
  939. kernel notification (ie. KAIO) or userspace notifications.
  940. If unsure, say Y.
  941. config SHMEM
  942. bool "Use full shmem filesystem" if EXPERT
  943. default y
  944. depends on MMU
  945. help
  946. The shmem is an internal filesystem used to manage shared memory.
  947. It is backed by swap and manages resource limits. It is also exported
  948. to userspace as tmpfs if TMPFS is enabled. Disabling this
  949. option replaces shmem and tmpfs with the much simpler ramfs code,
  950. which may be appropriate on small systems without swap.
  951. config AIO
  952. bool "Enable AIO support" if EXPERT
  953. default y
  954. help
  955. This option enables POSIX asynchronous I/O which may by used
  956. by some high performance threaded applications. Disabling
  957. this option saves about 7k.
  958. config EMBEDDED
  959. bool "Embedded system"
  960. select EXPERT
  961. help
  962. This option should be enabled if compiling the kernel for
  963. an embedded system so certain expert options are available
  964. for configuration.
  965. config HAVE_PERF_EVENTS
  966. bool
  967. help
  968. See tools/perf/design.txt for details.
  969. config PERF_USE_VMALLOC
  970. bool
  971. help
  972. See tools/perf/design.txt for details
  973. menu "Kernel Performance Events And Counters"
  974. config PERF_EVENTS
  975. bool "Kernel performance events and counters"
  976. default y if (PROFILING || PERF_COUNTERS)
  977. depends on HAVE_PERF_EVENTS
  978. select ANON_INODES
  979. select IRQ_WORK
  980. help
  981. Enable kernel support for various performance events provided
  982. by software and hardware.
  983. Software events are supported either built-in or via the
  984. use of generic tracepoints.
  985. Most modern CPUs support performance events via performance
  986. counter registers. These registers count the number of certain
  987. types of hw events: such as instructions executed, cachemisses
  988. suffered, or branches mis-predicted - without slowing down the
  989. kernel or applications. These registers can also trigger interrupts
  990. when a threshold number of events have passed - and can thus be
  991. used to profile the code that runs on that CPU.
  992. The Linux Performance Event subsystem provides an abstraction of
  993. these software and hardware event capabilities, available via a
  994. system call and used by the "perf" utility in tools/perf/. It
  995. provides per task and per CPU counters, and it provides event
  996. capabilities on top of those.
  997. Say Y if unsure.
  998. config PERF_COUNTERS
  999. bool "Kernel performance counters (old config option)"
  1000. depends on HAVE_PERF_EVENTS
  1001. help
  1002. This config has been obsoleted by the PERF_EVENTS
  1003. config option - please see that one for details.
  1004. It has no effect on the kernel whether you enable
  1005. it or not, it is a compatibility placeholder.
  1006. Say N if unsure.
  1007. config DEBUG_PERF_USE_VMALLOC
  1008. default n
  1009. bool "Debug: use vmalloc to back perf mmap() buffers"
  1010. depends on PERF_EVENTS && DEBUG_KERNEL
  1011. select PERF_USE_VMALLOC
  1012. help
  1013. Use vmalloc memory to back perf mmap() buffers.
  1014. Mostly useful for debugging the vmalloc code on platforms
  1015. that don't require it.
  1016. Say N if unsure.
  1017. endmenu
  1018. config VM_EVENT_COUNTERS
  1019. default y
  1020. bool "Enable VM event counters for /proc/vmstat" if EXPERT
  1021. help
  1022. VM event counters are needed for event counts to be shown.
  1023. This option allows the disabling of the VM event counters
  1024. on EXPERT systems. /proc/vmstat will only show page counts
  1025. if VM event counters are disabled.
  1026. config PCI_QUIRKS
  1027. default y
  1028. bool "Enable PCI quirk workarounds" if EXPERT
  1029. depends on PCI
  1030. help
  1031. This enables workarounds for various PCI chipset
  1032. bugs/quirks. Disable this only if your target machine is
  1033. unaffected by PCI quirks.
  1034. config SLUB_DEBUG
  1035. default y
  1036. bool "Enable SLUB debugging support" if EXPERT
  1037. depends on SLUB && SYSFS
  1038. help
  1039. SLUB has extensive debug support features. Disabling these can
  1040. result in significant savings in code size. This also disables
  1041. SLUB sysfs support. /sys/slab will not exist and there will be
  1042. no support for cache validation etc.
  1043. config COMPAT_BRK
  1044. bool "Disable heap randomization"
  1045. default y
  1046. help
  1047. Randomizing heap placement makes heap exploits harder, but it
  1048. also breaks ancient binaries (including anything libc5 based).
  1049. This option changes the bootup default to heap randomization
  1050. disabled, and can be overridden at runtime by setting
  1051. /proc/sys/kernel/randomize_va_space to 2.
  1052. On non-ancient distros (post-2000 ones) N is usually a safe choice.
  1053. choice
  1054. prompt "Choose SLAB allocator"
  1055. default SLUB
  1056. help
  1057. This option allows to select a slab allocator.
  1058. config SLAB
  1059. bool "SLAB"
  1060. help
  1061. The regular slab allocator that is established and known to work
  1062. well in all environments. It organizes cache hot objects in
  1063. per cpu and per node queues.
  1064. config SLUB
  1065. bool "SLUB (Unqueued Allocator)"
  1066. help
  1067. SLUB is a slab allocator that minimizes cache line usage
  1068. instead of managing queues of cached objects (SLAB approach).
  1069. Per cpu caching is realized using slabs of objects instead
  1070. of queues of objects. SLUB can use memory efficiently
  1071. and has enhanced diagnostics. SLUB is the default choice for
  1072. a slab allocator.
  1073. config SLOB
  1074. depends on EXPERT
  1075. bool "SLOB (Simple Allocator)"
  1076. help
  1077. SLOB replaces the stock allocator with a drastically simpler
  1078. allocator. SLOB is generally more space efficient but
  1079. does not perform as well on large systems.
  1080. endchoice
  1081. config MMAP_ALLOW_UNINITIALIZED
  1082. bool "Allow mmapped anonymous memory to be uninitialized"
  1083. depends on EXPERT && !MMU
  1084. default n
  1085. help
  1086. Normally, and according to the Linux spec, anonymous memory obtained
  1087. from mmap() has it's contents cleared before it is passed to
  1088. userspace. Enabling this config option allows you to request that
  1089. mmap() skip that if it is given an MAP_UNINITIALIZED flag, thus
  1090. providing a huge performance boost. If this option is not enabled,
  1091. then the flag will be ignored.
  1092. This is taken advantage of by uClibc's malloc(), and also by
  1093. ELF-FDPIC binfmt's brk and stack allocator.
  1094. Because of the obvious security issues, this option should only be
  1095. enabled on embedded devices where you control what is run in
  1096. userspace. Since that isn't generally a problem on no-MMU systems,
  1097. it is normally safe to say Y here.
  1098. See Documentation/nommu-mmap.txt for more information.
  1099. config PROFILING
  1100. bool "Profiling support"
  1101. help
  1102. Say Y here to enable the extended profiling support mechanisms used
  1103. by profilers such as OProfile.
  1104. #
  1105. # Place an empty function call at each tracepoint site. Can be
  1106. # dynamically changed for a probe function.
  1107. #
  1108. config TRACEPOINTS
  1109. bool
  1110. source "arch/Kconfig"
  1111. endmenu # General setup
  1112. config HAVE_GENERIC_DMA_COHERENT
  1113. bool
  1114. default n
  1115. config SLABINFO
  1116. bool
  1117. depends on PROC_FS
  1118. depends on SLAB || SLUB_DEBUG
  1119. default y
  1120. config RT_MUTEXES
  1121. boolean
  1122. config BASE_SMALL
  1123. int
  1124. default 0 if BASE_FULL
  1125. default 1 if !BASE_FULL
  1126. menuconfig MODULES
  1127. bool "Enable loadable module support"
  1128. help
  1129. Kernel modules are small pieces of compiled code which can
  1130. be inserted in the running kernel, rather than being
  1131. permanently built into the kernel. You use the "modprobe"
  1132. tool to add (and sometimes remove) them. If you say Y here,
  1133. many parts of the kernel can be built as modules (by
  1134. answering M instead of Y where indicated): this is most
  1135. useful for infrequently used options which are not required
  1136. for booting. For more information, see the man pages for
  1137. modprobe, lsmod, modinfo, insmod and rmmod.
  1138. If you say Y here, you will need to run "make
  1139. modules_install" to put the modules under /lib/modules/
  1140. where modprobe can find them (you may need to be root to do
  1141. this).
  1142. If unsure, say Y.
  1143. if MODULES
  1144. config MODULE_FORCE_LOAD
  1145. bool "Forced module loading"
  1146. default n
  1147. help
  1148. Allow loading of modules without version information (ie. modprobe
  1149. --force). Forced module loading sets the 'F' (forced) taint flag and
  1150. is usually a really bad idea.
  1151. config MODULE_UNLOAD
  1152. bool "Module unloading"
  1153. help
  1154. Without this option you will not be able to unload any
  1155. modules (note that some modules may not be unloadable
  1156. anyway), which makes your kernel smaller, faster
  1157. and simpler. If unsure, say Y.
  1158. config MODULE_FORCE_UNLOAD
  1159. bool "Forced module unloading"
  1160. depends on MODULE_UNLOAD && EXPERIMENTAL
  1161. help
  1162. This option allows you to force a module to unload, even if the
  1163. kernel believes it is unsafe: the kernel will remove the module
  1164. without waiting for anyone to stop using it (using the -f option to
  1165. rmmod). This is mainly for kernel developers and desperate users.
  1166. If unsure, say N.
  1167. config MODVERSIONS
  1168. bool "Module versioning support"
  1169. help
  1170. Usually, you have to use modules compiled with your kernel.
  1171. Saying Y here makes it sometimes possible to use modules
  1172. compiled for different kernels, by adding enough information
  1173. to the modules to (hopefully) spot any changes which would
  1174. make them incompatible with the kernel you are running. If
  1175. unsure, say N.
  1176. config MODULE_SRCVERSION_ALL
  1177. bool "Source checksum for all modules"
  1178. help
  1179. Modules which contain a MODULE_VERSION get an extra "srcversion"
  1180. field inserted into their modinfo section, which contains a
  1181. sum of the source files which made it. This helps maintainers
  1182. see exactly which source was used to build a module (since
  1183. others sometimes change the module source without updating
  1184. the version). With this option, such a "srcversion" field
  1185. will be created for all modules. If unsure, say N.
  1186. endif # MODULES
  1187. config INIT_ALL_POSSIBLE
  1188. bool
  1189. help
  1190. Back when each arch used to define their own cpu_online_mask and
  1191. cpu_possible_mask, some of them chose to initialize cpu_possible_mask
  1192. with all 1s, and others with all 0s. When they were centralised,
  1193. it was better to provide this option than to break all the archs
  1194. and have several arch maintainers pursuing me down dark alleys.
  1195. config STOP_MACHINE
  1196. bool
  1197. default y
  1198. depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
  1199. help
  1200. Need stop_machine() primitive.
  1201. source "block/Kconfig"
  1202. config PREEMPT_NOTIFIERS
  1203. bool
  1204. config PADATA
  1205. depends on SMP
  1206. bool
  1207. source "kernel/Kconfig.locks"