Kconfig 44 KB

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