Kconfig 43 KB

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