Kconfig 52 KB

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