Kconfig 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386
  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 && 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_FREEZER
  497. bool "Freezer cgroup subsystem"
  498. help
  499. Provides a way to freeze and unfreeze all tasks in a
  500. cgroup.
  501. config CGROUP_DEVICE
  502. bool "Device controller for cgroups"
  503. help
  504. Provides a cgroup implementing whitelists for devices which
  505. a process in the cgroup can mknod or open.
  506. config CPUSETS
  507. bool "Cpuset support"
  508. help
  509. This option will let you create and manage CPUSETs which
  510. allow dynamically partitioning a system into sets of CPUs and
  511. Memory Nodes and assigning tasks to run only within those sets.
  512. This is primarily useful on large SMP or NUMA systems.
  513. Say N if unsure.
  514. config PROC_PID_CPUSET
  515. bool "Include legacy /proc/<pid>/cpuset file"
  516. depends on CPUSETS
  517. default y
  518. config CGROUP_CPUACCT
  519. bool "Simple CPU accounting cgroup subsystem"
  520. help
  521. Provides a simple Resource Controller for monitoring the
  522. total CPU consumed by the tasks in a cgroup.
  523. config RESOURCE_COUNTERS
  524. bool "Resource counters"
  525. help
  526. This option enables controller independent resource accounting
  527. infrastructure that works with cgroups.
  528. config CGROUP_MEM_RES_CTLR
  529. bool "Memory Resource Controller for Control Groups"
  530. depends on RESOURCE_COUNTERS
  531. select MM_OWNER
  532. help
  533. Provides a memory resource controller that manages both anonymous
  534. memory and page cache. (See Documentation/cgroups/memory.txt)
  535. Note that setting this option increases fixed memory overhead
  536. associated with each page of memory in the system. By this,
  537. 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory
  538. usage tracking struct at boot. Total amount of this is printed out
  539. at boot.
  540. Only enable when you're ok with these trade offs and really
  541. sure you need the memory resource controller. Even when you enable
  542. this, you can set "cgroup_disable=memory" at your boot option to
  543. disable memory resource controller and you can avoid overheads.
  544. (and lose benefits of memory resource controller)
  545. This config option also selects MM_OWNER config option, which
  546. could in turn add some fork/exit overhead.
  547. config CGROUP_MEM_RES_CTLR_SWAP
  548. bool "Memory Resource Controller Swap Extension"
  549. depends on CGROUP_MEM_RES_CTLR && SWAP
  550. help
  551. Add swap management feature to memory resource controller. When you
  552. enable this, you can limit mem+swap usage per cgroup. In other words,
  553. when you disable this, memory resource controller has no cares to
  554. usage of swap...a process can exhaust all of the swap. This extension
  555. is useful when you want to avoid exhaustion swap but this itself
  556. adds more overheads and consumes memory for remembering information.
  557. Especially if you use 32bit system or small memory system, please
  558. be careful about enabling this. When memory resource controller
  559. is disabled by boot option, this will be automatically disabled and
  560. there will be no overhead from this. Even when you set this config=y,
  561. if boot option "noswapaccount" is set, swap will not be accounted.
  562. Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
  563. size is 4096bytes, 512k per 1Gbytes of swap.
  564. config CGROUP_MEM_RES_CTLR_SWAP_ENABLED
  565. bool "Memory Resource Controller Swap Extension enabled by default"
  566. depends on CGROUP_MEM_RES_CTLR_SWAP
  567. default y
  568. help
  569. Memory Resource Controller Swap Extension comes with its price in
  570. a bigger memory consumption. General purpose distribution kernels
  571. which want to enable the feature but keep it disabled by default
  572. and let the user enable it by swapaccount boot command line
  573. parameter should have this option unselected.
  574. For those who want to have the feature enabled by default should
  575. select this option (if, for some reason, they need to disable it
  576. then noswapaccount does the trick).
  577. config CGROUP_PERF
  578. bool "Enable perf_event per-cpu per-container group (cgroup) monitoring"
  579. depends on PERF_EVENTS && CGROUPS
  580. help
  581. This option extends the per-cpu mode to restrict monitoring to
  582. threads which belong to the cgroup specified and run on the
  583. designated cpu.
  584. Say N if unsure.
  585. menuconfig CGROUP_SCHED
  586. bool "Group CPU scheduler"
  587. depends on EXPERIMENTAL
  588. default n
  589. help
  590. This feature lets CPU scheduler recognize task groups and control CPU
  591. bandwidth allocation to such task groups. It uses cgroups to group
  592. tasks.
  593. if CGROUP_SCHED
  594. config FAIR_GROUP_SCHED
  595. bool "Group scheduling for SCHED_OTHER"
  596. depends on CGROUP_SCHED
  597. default CGROUP_SCHED
  598. config RT_GROUP_SCHED
  599. bool "Group scheduling for SCHED_RR/FIFO"
  600. depends on EXPERIMENTAL
  601. depends on CGROUP_SCHED
  602. default n
  603. help
  604. This feature lets you explicitly allocate real CPU bandwidth
  605. to task groups. If enabled, it will also make it impossible to
  606. schedule realtime tasks for non-root users until you allocate
  607. realtime bandwidth for them.
  608. See Documentation/scheduler/sched-rt-group.txt for more information.
  609. endif #CGROUP_SCHED
  610. config BLK_CGROUP
  611. tristate "Block IO controller"
  612. depends on BLOCK
  613. default n
  614. ---help---
  615. Generic block IO controller cgroup interface. This is the common
  616. cgroup interface which should be used by various IO controlling
  617. policies.
  618. Currently, CFQ IO scheduler uses it to recognize task groups and
  619. control disk bandwidth allocation (proportional time slice allocation)
  620. to such task groups. It is also used by bio throttling logic in
  621. block layer to implement upper limit in IO rates on a device.
  622. This option only enables generic Block IO controller infrastructure.
  623. One needs to also enable actual IO controlling logic/policy. For
  624. enabling proportional weight division of disk bandwidth in CFQ, set
  625. CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set
  626. CONFIG_BLK_DEV_THROTTLING=y.
  627. See Documentation/cgroups/blkio-controller.txt for more information.
  628. config DEBUG_BLK_CGROUP
  629. bool "Enable Block IO controller debugging"
  630. depends on BLK_CGROUP
  631. default n
  632. ---help---
  633. Enable some debugging help. Currently it exports additional stat
  634. files in a cgroup which can be useful for debugging.
  635. endif # CGROUPS
  636. menuconfig NAMESPACES
  637. bool "Namespaces support" if EXPERT
  638. default !EXPERT
  639. help
  640. Provides the way to make tasks work with different objects using
  641. the same id. For example same IPC id may refer to different objects
  642. or same user id or pid may refer to different tasks when used in
  643. different namespaces.
  644. if NAMESPACES
  645. config UTS_NS
  646. bool "UTS namespace"
  647. default y
  648. help
  649. In this namespace tasks see different info provided with the
  650. uname() system call
  651. config IPC_NS
  652. bool "IPC namespace"
  653. depends on (SYSVIPC || POSIX_MQUEUE)
  654. default y
  655. help
  656. In this namespace tasks work with IPC ids which correspond to
  657. different IPC objects in different namespaces.
  658. config USER_NS
  659. bool "User namespace (EXPERIMENTAL)"
  660. depends on EXPERIMENTAL
  661. default y
  662. help
  663. This allows containers, i.e. vservers, to use user namespaces
  664. to provide different user info for different servers.
  665. If unsure, say N.
  666. config PID_NS
  667. bool "PID Namespaces"
  668. default y
  669. help
  670. Support process id namespaces. This allows having multiple
  671. processes with the same pid as long as they are in different
  672. pid namespaces. This is a building block of containers.
  673. config NET_NS
  674. bool "Network namespace"
  675. depends on NET
  676. default y
  677. help
  678. Allow user space to create what appear to be multiple instances
  679. of the network stack.
  680. endif # NAMESPACES
  681. config SCHED_AUTOGROUP
  682. bool "Automatic process group scheduling"
  683. select EVENTFD
  684. select CGROUPS
  685. select CGROUP_SCHED
  686. select FAIR_GROUP_SCHED
  687. help
  688. This option optimizes the scheduler for common desktop workloads by
  689. automatically creating and populating task groups. This separation
  690. of workloads isolates aggressive CPU burners (like build jobs) from
  691. desktop applications. Task group autogeneration is currently based
  692. upon task session.
  693. config MM_OWNER
  694. bool
  695. config SYSFS_DEPRECATED
  696. bool "Enable deprecated sysfs features to support old userspace tools"
  697. depends on SYSFS
  698. default n
  699. help
  700. This option adds code that switches the layout of the "block" class
  701. devices, to not show up in /sys/class/block/, but only in
  702. /sys/block/.
  703. This switch is only active when the sysfs.deprecated=1 boot option is
  704. passed or the SYSFS_DEPRECATED_V2 option is set.
  705. This option allows new kernels to run on old distributions and tools,
  706. which might get confused by /sys/class/block/. Since 2007/2008 all
  707. major distributions and tools handle this just fine.
  708. Recent distributions and userspace tools after 2009/2010 depend on
  709. the existence of /sys/class/block/, and will not work with this
  710. option enabled.
  711. Only if you are using a new kernel on an old distribution, you might
  712. need to say Y here.
  713. config SYSFS_DEPRECATED_V2
  714. bool "Enable deprecated sysfs features by default"
  715. default n
  716. depends on SYSFS
  717. depends on SYSFS_DEPRECATED
  718. help
  719. Enable deprecated sysfs by default.
  720. See the CONFIG_SYSFS_DEPRECATED option for more details about this
  721. option.
  722. Only if you are using a new kernel on an old distribution, you might
  723. need to say Y here. Even then, odds are you would not need it
  724. enabled, you can always pass the boot option if absolutely necessary.
  725. config RELAY
  726. bool "Kernel->user space relay support (formerly relayfs)"
  727. help
  728. This option enables support for relay interface support in
  729. certain file systems (such as debugfs).
  730. It is designed to provide an efficient mechanism for tools and
  731. facilities to relay large amounts of data from kernel space to
  732. user space.
  733. If unsure, say N.
  734. config BLK_DEV_INITRD
  735. bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
  736. depends on BROKEN || !FRV
  737. help
  738. The initial RAM filesystem is a ramfs which is loaded by the
  739. boot loader (loadlin or lilo) and that is mounted as root
  740. before the normal boot procedure. It is typically used to
  741. load modules needed to mount the "real" root file system,
  742. etc. See <file:Documentation/initrd.txt> for details.
  743. If RAM disk support (BLK_DEV_RAM) is also included, this
  744. also enables initial RAM disk (initrd) support and adds
  745. 15 Kbytes (more on some other architectures) to the kernel size.
  746. If unsure say Y.
  747. if BLK_DEV_INITRD
  748. source "usr/Kconfig"
  749. endif
  750. config CC_OPTIMIZE_FOR_SIZE
  751. bool "Optimize for size"
  752. help
  753. Enabling this option will pass "-Os" instead of "-O2" to gcc
  754. resulting in a smaller kernel.
  755. If unsure, say Y.
  756. config SYSCTL
  757. bool
  758. config ANON_INODES
  759. bool
  760. menuconfig EXPERT
  761. bool "Configure standard kernel features (expert users)"
  762. help
  763. This option allows certain base kernel options and settings
  764. to be disabled or tweaked. This is for specialized
  765. environments which can tolerate a "non-standard" kernel.
  766. Only use this if you really know what you are doing.
  767. config UID16
  768. bool "Enable 16-bit UID system calls" if EXPERT
  769. depends on ARM || BLACKFIN || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && COMPAT) || UML || (X86_64 && IA32_EMULATION)
  770. default y
  771. help
  772. This enables the legacy 16-bit UID syscall wrappers.
  773. config SYSCTL_SYSCALL
  774. bool "Sysctl syscall support" if EXPERT
  775. depends on PROC_SYSCTL
  776. default y
  777. select SYSCTL
  778. ---help---
  779. sys_sysctl uses binary paths that have been found challenging
  780. to properly maintain and use. The interface in /proc/sys
  781. using paths with ascii names is now the primary path to this
  782. information.
  783. Almost nothing using the binary sysctl interface so if you are
  784. trying to save some space it is probably safe to disable this,
  785. making your kernel marginally smaller.
  786. If unsure say Y here.
  787. config KALLSYMS
  788. bool "Load all symbols for debugging/ksymoops" if EXPERT
  789. default y
  790. help
  791. Say Y here to let the kernel print out symbolic crash information and
  792. symbolic stack backtraces. This increases the size of the kernel
  793. somewhat, as all symbols have to be loaded into the kernel image.
  794. config KALLSYMS_ALL
  795. bool "Include all symbols in kallsyms"
  796. depends on DEBUG_KERNEL && KALLSYMS
  797. help
  798. Normally kallsyms only contains the symbols of functions for nicer
  799. OOPS messages and backtraces (i.e., symbols from the text and inittext
  800. sections). This is sufficient for most cases. And only in very rare
  801. cases (e.g., when a debugger is used) all symbols are required (e.g.,
  802. names of variables from the data sections, etc).
  803. This option makes sure that all symbols are loaded into the kernel
  804. image (i.e., symbols from all sections) in cost of increased kernel
  805. size (depending on the kernel configuration, it may be 300KiB or
  806. something like this).
  807. Say N unless you really need all symbols.
  808. config HOTPLUG
  809. bool "Support for hot-pluggable devices" if EXPERT
  810. default y
  811. help
  812. This option is provided for the case where no hotplug or uevent
  813. capabilities is wanted by the kernel. You should only consider
  814. disabling this option for embedded systems that do not use modules, a
  815. dynamic /dev tree, or dynamic device discovery. Just say Y.
  816. config PRINTK
  817. default y
  818. bool "Enable support for printk" if EXPERT
  819. help
  820. This option enables normal printk support. Removing it
  821. eliminates most of the message strings from the kernel image
  822. and makes the kernel more or less silent. As this makes it
  823. very difficult to diagnose system problems, saying N here is
  824. strongly discouraged.
  825. config BUG
  826. bool "BUG() support" if EXPERT
  827. default y
  828. help
  829. Disabling this option eliminates support for BUG and WARN, reducing
  830. the size of your kernel image and potentially quietly ignoring
  831. numerous fatal conditions. You should only consider disabling this
  832. option for embedded systems with no facilities for reporting errors.
  833. Just say Y.
  834. config ELF_CORE
  835. default y
  836. bool "Enable ELF core dumps" if EXPERT
  837. help
  838. Enable support for generating core dumps. Disabling saves about 4k.
  839. config PCSPKR_PLATFORM
  840. bool "Enable PC-Speaker support" if EXPERT
  841. depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
  842. default y
  843. help
  844. This option allows to disable the internal PC-Speaker
  845. support, saving some memory.
  846. config BASE_FULL
  847. default y
  848. bool "Enable full-sized data structures for core" if EXPERT
  849. help
  850. Disabling this option reduces the size of miscellaneous core
  851. kernel data structures. This saves memory on small machines,
  852. but may reduce performance.
  853. config FUTEX
  854. bool "Enable futex support" if EXPERT
  855. default y
  856. select RT_MUTEXES
  857. help
  858. Disabling this option will cause the kernel to be built without
  859. support for "fast userspace mutexes". The resulting kernel may not
  860. run glibc-based applications correctly.
  861. config EPOLL
  862. bool "Enable eventpoll support" if EXPERT
  863. default y
  864. select ANON_INODES
  865. help
  866. Disabling this option will cause the kernel to be built without
  867. support for epoll family of system calls.
  868. config SIGNALFD
  869. bool "Enable signalfd() system call" if EXPERT
  870. select ANON_INODES
  871. default y
  872. help
  873. Enable the signalfd() system call that allows to receive signals
  874. on a file descriptor.
  875. If unsure, say Y.
  876. config TIMERFD
  877. bool "Enable timerfd() system call" if EXPERT
  878. select ANON_INODES
  879. default y
  880. help
  881. Enable the timerfd() system call that allows to receive timer
  882. events on a file descriptor.
  883. If unsure, say Y.
  884. config EVENTFD
  885. bool "Enable eventfd() system call" if EXPERT
  886. select ANON_INODES
  887. default y
  888. help
  889. Enable the eventfd() system call that allows to receive both
  890. kernel notification (ie. KAIO) or userspace notifications.
  891. If unsure, say Y.
  892. config SHMEM
  893. bool "Use full shmem filesystem" if EXPERT
  894. default y
  895. depends on MMU
  896. help
  897. The shmem is an internal filesystem used to manage shared memory.
  898. It is backed by swap and manages resource limits. It is also exported
  899. to userspace as tmpfs if TMPFS is enabled. Disabling this
  900. option replaces shmem and tmpfs with the much simpler ramfs code,
  901. which may be appropriate on small systems without swap.
  902. config AIO
  903. bool "Enable AIO support" if EXPERT
  904. default y
  905. help
  906. This option enables POSIX asynchronous I/O which may by used
  907. by some high performance threaded applications. Disabling
  908. this option saves about 7k.
  909. config EMBEDDED
  910. bool "Embedded system"
  911. select EXPERT
  912. help
  913. This option should be enabled if compiling the kernel for
  914. an embedded system so certain expert options are available
  915. for configuration.
  916. config HAVE_PERF_EVENTS
  917. bool
  918. help
  919. See tools/perf/design.txt for details.
  920. config PERF_USE_VMALLOC
  921. bool
  922. help
  923. See tools/perf/design.txt for details
  924. menu "Kernel Performance Events And Counters"
  925. config PERF_EVENTS
  926. bool "Kernel performance events and counters"
  927. default y if (PROFILING || PERF_COUNTERS)
  928. depends on HAVE_PERF_EVENTS
  929. select ANON_INODES
  930. select IRQ_WORK
  931. help
  932. Enable kernel support for various performance events provided
  933. by software and hardware.
  934. Software events are supported either built-in or via the
  935. use of generic tracepoints.
  936. Most modern CPUs support performance events via performance
  937. counter registers. These registers count the number of certain
  938. types of hw events: such as instructions executed, cachemisses
  939. suffered, or branches mis-predicted - without slowing down the
  940. kernel or applications. These registers can also trigger interrupts
  941. when a threshold number of events have passed - and can thus be
  942. used to profile the code that runs on that CPU.
  943. The Linux Performance Event subsystem provides an abstraction of
  944. these software and hardware event capabilities, available via a
  945. system call and used by the "perf" utility in tools/perf/. It
  946. provides per task and per CPU counters, and it provides event
  947. capabilities on top of those.
  948. Say Y if unsure.
  949. config PERF_COUNTERS
  950. bool "Kernel performance counters (old config option)"
  951. depends on HAVE_PERF_EVENTS
  952. help
  953. This config has been obsoleted by the PERF_EVENTS
  954. config option - please see that one for details.
  955. It has no effect on the kernel whether you enable
  956. it or not, it is a compatibility placeholder.
  957. Say N if unsure.
  958. config DEBUG_PERF_USE_VMALLOC
  959. default n
  960. bool "Debug: use vmalloc to back perf mmap() buffers"
  961. depends on PERF_EVENTS && DEBUG_KERNEL
  962. select PERF_USE_VMALLOC
  963. help
  964. Use vmalloc memory to back perf mmap() buffers.
  965. Mostly useful for debugging the vmalloc code on platforms
  966. that don't require it.
  967. Say N if unsure.
  968. endmenu
  969. config VM_EVENT_COUNTERS
  970. default y
  971. bool "Enable VM event counters for /proc/vmstat" if EXPERT
  972. help
  973. VM event counters are needed for event counts to be shown.
  974. This option allows the disabling of the VM event counters
  975. on EXPERT systems. /proc/vmstat will only show page counts
  976. if VM event counters are disabled.
  977. config PCI_QUIRKS
  978. default y
  979. bool "Enable PCI quirk workarounds" if EXPERT
  980. depends on PCI
  981. help
  982. This enables workarounds for various PCI chipset
  983. bugs/quirks. Disable this only if your target machine is
  984. unaffected by PCI quirks.
  985. config SLUB_DEBUG
  986. default y
  987. bool "Enable SLUB debugging support" if EXPERT
  988. depends on SLUB && SYSFS
  989. help
  990. SLUB has extensive debug support features. Disabling these can
  991. result in significant savings in code size. This also disables
  992. SLUB sysfs support. /sys/slab will not exist and there will be
  993. no support for cache validation etc.
  994. config COMPAT_BRK
  995. bool "Disable heap randomization"
  996. default y
  997. help
  998. Randomizing heap placement makes heap exploits harder, but it
  999. also breaks ancient binaries (including anything libc5 based).
  1000. This option changes the bootup default to heap randomization
  1001. disabled, and can be overridden at runtime by setting
  1002. /proc/sys/kernel/randomize_va_space to 2.
  1003. On non-ancient distros (post-2000 ones) N is usually a safe choice.
  1004. choice
  1005. prompt "Choose SLAB allocator"
  1006. default SLUB
  1007. help
  1008. This option allows to select a slab allocator.
  1009. config SLAB
  1010. bool "SLAB"
  1011. help
  1012. The regular slab allocator that is established and known to work
  1013. well in all environments. It organizes cache hot objects in
  1014. per cpu and per node queues.
  1015. config SLUB
  1016. bool "SLUB (Unqueued Allocator)"
  1017. help
  1018. SLUB is a slab allocator that minimizes cache line usage
  1019. instead of managing queues of cached objects (SLAB approach).
  1020. Per cpu caching is realized using slabs of objects instead
  1021. of queues of objects. SLUB can use memory efficiently
  1022. and has enhanced diagnostics. SLUB is the default choice for
  1023. a slab allocator.
  1024. config SLOB
  1025. depends on EXPERT
  1026. bool "SLOB (Simple Allocator)"
  1027. help
  1028. SLOB replaces the stock allocator with a drastically simpler
  1029. allocator. SLOB is generally more space efficient but
  1030. does not perform as well on large systems.
  1031. endchoice
  1032. config MMAP_ALLOW_UNINITIALIZED
  1033. bool "Allow mmapped anonymous memory to be uninitialized"
  1034. depends on EXPERT && !MMU
  1035. default n
  1036. help
  1037. Normally, and according to the Linux spec, anonymous memory obtained
  1038. from mmap() has it's contents cleared before it is passed to
  1039. userspace. Enabling this config option allows you to request that
  1040. mmap() skip that if it is given an MAP_UNINITIALIZED flag, thus
  1041. providing a huge performance boost. If this option is not enabled,
  1042. then the flag will be ignored.
  1043. This is taken advantage of by uClibc's malloc(), and also by
  1044. ELF-FDPIC binfmt's brk and stack allocator.
  1045. Because of the obvious security issues, this option should only be
  1046. enabled on embedded devices where you control what is run in
  1047. userspace. Since that isn't generally a problem on no-MMU systems,
  1048. it is normally safe to say Y here.
  1049. See Documentation/nommu-mmap.txt for more information.
  1050. config PROFILING
  1051. bool "Profiling support"
  1052. help
  1053. Say Y here to enable the extended profiling support mechanisms used
  1054. by profilers such as OProfile.
  1055. #
  1056. # Place an empty function call at each tracepoint site. Can be
  1057. # dynamically changed for a probe function.
  1058. #
  1059. config TRACEPOINTS
  1060. bool
  1061. source "arch/Kconfig"
  1062. endmenu # General setup
  1063. config HAVE_GENERIC_DMA_COHERENT
  1064. bool
  1065. default n
  1066. config SLABINFO
  1067. bool
  1068. depends on PROC_FS
  1069. depends on SLAB || SLUB_DEBUG
  1070. default y
  1071. config RT_MUTEXES
  1072. boolean
  1073. config BASE_SMALL
  1074. int
  1075. default 0 if BASE_FULL
  1076. default 1 if !BASE_FULL
  1077. menuconfig MODULES
  1078. bool "Enable loadable module support"
  1079. help
  1080. Kernel modules are small pieces of compiled code which can
  1081. be inserted in the running kernel, rather than being
  1082. permanently built into the kernel. You use the "modprobe"
  1083. tool to add (and sometimes remove) them. If you say Y here,
  1084. many parts of the kernel can be built as modules (by
  1085. answering M instead of Y where indicated): this is most
  1086. useful for infrequently used options which are not required
  1087. for booting. For more information, see the man pages for
  1088. modprobe, lsmod, modinfo, insmod and rmmod.
  1089. If you say Y here, you will need to run "make
  1090. modules_install" to put the modules under /lib/modules/
  1091. where modprobe can find them (you may need to be root to do
  1092. this).
  1093. If unsure, say Y.
  1094. if MODULES
  1095. config MODULE_FORCE_LOAD
  1096. bool "Forced module loading"
  1097. default n
  1098. help
  1099. Allow loading of modules without version information (ie. modprobe
  1100. --force). Forced module loading sets the 'F' (forced) taint flag and
  1101. is usually a really bad idea.
  1102. config MODULE_UNLOAD
  1103. bool "Module unloading"
  1104. help
  1105. Without this option you will not be able to unload any
  1106. modules (note that some modules may not be unloadable
  1107. anyway), which makes your kernel smaller, faster
  1108. and simpler. If unsure, say Y.
  1109. config MODULE_FORCE_UNLOAD
  1110. bool "Forced module unloading"
  1111. depends on MODULE_UNLOAD && EXPERIMENTAL
  1112. help
  1113. This option allows you to force a module to unload, even if the
  1114. kernel believes it is unsafe: the kernel will remove the module
  1115. without waiting for anyone to stop using it (using the -f option to
  1116. rmmod). This is mainly for kernel developers and desperate users.
  1117. If unsure, say N.
  1118. config MODVERSIONS
  1119. bool "Module versioning support"
  1120. help
  1121. Usually, you have to use modules compiled with your kernel.
  1122. Saying Y here makes it sometimes possible to use modules
  1123. compiled for different kernels, by adding enough information
  1124. to the modules to (hopefully) spot any changes which would
  1125. make them incompatible with the kernel you are running. If
  1126. unsure, say N.
  1127. config MODULE_SRCVERSION_ALL
  1128. bool "Source checksum for all modules"
  1129. help
  1130. Modules which contain a MODULE_VERSION get an extra "srcversion"
  1131. field inserted into their modinfo section, which contains a
  1132. sum of the source files which made it. This helps maintainers
  1133. see exactly which source was used to build a module (since
  1134. others sometimes change the module source without updating
  1135. the version). With this option, such a "srcversion" field
  1136. will be created for all modules. If unsure, say N.
  1137. endif # MODULES
  1138. config INIT_ALL_POSSIBLE
  1139. bool
  1140. help
  1141. Back when each arch used to define their own cpu_online_map and
  1142. cpu_possible_map, some of them chose to initialize cpu_possible_map
  1143. with all 1s, and others with all 0s. When they were centralised,
  1144. it was better to provide this option than to break all the archs
  1145. and have several arch maintainers pursuing me down dark alleys.
  1146. config STOP_MACHINE
  1147. bool
  1148. default y
  1149. depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
  1150. help
  1151. Need stop_machine() primitive.
  1152. source "block/Kconfig"
  1153. config PREEMPT_NOTIFIERS
  1154. bool
  1155. config PADATA
  1156. depends on SMP
  1157. bool
  1158. source "kernel/Kconfig.locks"