aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-19 01:56:44 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-19 01:56:44 -0400
commit0612ec48762bf8712db1925b2e67246d2237ebab (patch)
tree01b0d69c9c9915015c0f23ad4263646dd5413e99 /init
parent4263cf0fac28122c8381b6f4f9441a43cd93c81f (diff)
parent47a5c6fa0e204a2b63309c648bb2fde36836c826 (diff)
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig76
-rw-r--r--init/main.c4
2 files changed, 54 insertions, 26 deletions
diff --git a/init/Kconfig b/init/Kconfig
index a5b073a103e7..9a7656f0b5ec 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -158,22 +158,29 @@ config BSD_PROCESS_ACCT_V3
158 for processing it. A preliminary version of these tools is available 158 for processing it. A preliminary version of these tools is available
159 at <http://www.physik3.uni-rostock.de/tim/kernel/utils/acct/>. 159 at <http://www.physik3.uni-rostock.de/tim/kernel/utils/acct/>.
160 160
161config SYSCTL 161config TASKSTATS
162 bool "Sysctl support" if EMBEDDED 162 bool "Export task/process statistics through netlink (EXPERIMENTAL)"
163 default y 163 depends on NET
164 ---help--- 164 default n
165 The sysctl interface provides a means of dynamically changing 165 help
166 certain kernel parameters and variables on the fly without requiring 166 Export selected statistics for tasks/processes through the
167 a recompile of the kernel or reboot of the system. The primary 167 generic netlink interface. Unlike BSD process accounting, the
168 interface consists of a system call, but if you say Y to "/proc 168 statistics are available during the lifetime of tasks/processes as
169 file system support", a tree of modifiable sysctl entries will be 169 responses to commands. Like BSD accounting, they are sent to user
170 generated beneath the /proc/sys directory. They are explained in the 170 space on task exit.
171 files in <file:Documentation/sysctl/>. Note that enabling this
172 option will enlarge the kernel by at least 8 KB.
173 171
174 As it is generally a good thing, you should say Y here unless 172 Say N if unsure.
175 building a kernel for install/rescue disks or your system is very 173
176 limited in memory. 174config TASK_DELAY_ACCT
175 bool "Enable per-task delay accounting (EXPERIMENTAL)"
176 depends on TASKSTATS
177 help
178 Collect information on time spent by a task waiting for system
179 resources like cpu, synchronous block I/O completion and swapping
180 in pages. Such statistics can help in setting a task's priorities
181 relative to other tasks for cpu, io, rss limits etc.
182
183 Say N if unsure.
177 184
178config AUDIT 185config AUDIT
179 bool "Auditing support" 186 bool "Auditing support"
@@ -237,13 +244,6 @@ config RELAY
237 244
238source "usr/Kconfig" 245source "usr/Kconfig"
239 246
240config UID16
241 bool "Enable 16-bit UID system calls" if EMBEDDED
242 depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
243 default y
244 help
245 This enables the legacy 16-bit UID syscall wrappers.
246
247config CC_OPTIMIZE_FOR_SIZE 247config CC_OPTIMIZE_FOR_SIZE
248 bool "Optimize for size (Look out for broken compilers!)" 248 bool "Optimize for size (Look out for broken compilers!)"
249 default y 249 default y
@@ -265,6 +265,30 @@ menuconfig EMBEDDED
265 environments which can tolerate a "non-standard" kernel. 265 environments which can tolerate a "non-standard" kernel.
266 Only use this if you really know what you are doing. 266 Only use this if you really know what you are doing.
267 267
268config UID16
269 bool "Enable 16-bit UID system calls" if EMBEDDED
270 depends on ARM || CRIS || FRV || H8300 || X86_32 || M68K || (S390 && !64BIT) || SUPERH || SPARC32 || (SPARC64 && SPARC32_COMPAT) || UML || (X86_64 && IA32_EMULATION)
271 default y
272 help
273 This enables the legacy 16-bit UID syscall wrappers.
274
275config SYSCTL
276 bool "Sysctl support" if EMBEDDED
277 default y
278 ---help---
279 The sysctl interface provides a means of dynamically changing
280 certain kernel parameters and variables on the fly without requiring
281 a recompile of the kernel or reboot of the system. The primary
282 interface consists of a system call, but if you say Y to "/proc
283 file system support", a tree of modifiable sysctl entries will be
284 generated beneath the /proc/sys directory. They are explained in the
285 files in <file:Documentation/sysctl/>. Note that enabling this
286 option will enlarge the kernel by at least 8 KB.
287
288 As it is generally a good thing, you should say Y here unless
289 building a kernel for install/rescue disks or your system is very
290 limited in memory.
291
268config KALLSYMS 292config KALLSYMS
269 bool "Load all symbols for debugging/kksymoops" if EMBEDDED 293 bool "Load all symbols for debugging/kksymoops" if EMBEDDED
270 default y 294 default y
@@ -339,10 +363,6 @@ config BASE_FULL
339 kernel data structures. This saves memory on small machines, 363 kernel data structures. This saves memory on small machines,
340 but may reduce performance. 364 but may reduce performance.
341 365
342config RT_MUTEXES
343 boolean
344 select PLIST
345
346config FUTEX 366config FUTEX
347 bool "Enable futex support" if EMBEDDED 367 bool "Enable futex support" if EMBEDDED
348 default y 368 default y
@@ -390,6 +410,10 @@ config VM_EVENT_COUNTERS
390 410
391endmenu # General setup 411endmenu # General setup
392 412
413config RT_MUTEXES
414 boolean
415 select PLIST
416
393config TINY_SHMEM 417config TINY_SHMEM
394 default !SHMEM 418 default !SHMEM
395 bool 419 bool
diff --git a/init/main.c b/init/main.c
index 628b8e9e841a..8651a720a092 100644
--- a/init/main.c
+++ b/init/main.c
@@ -41,6 +41,8 @@
41#include <linux/cpu.h> 41#include <linux/cpu.h>
42#include <linux/cpuset.h> 42#include <linux/cpuset.h>
43#include <linux/efi.h> 43#include <linux/efi.h>
44#include <linux/taskstats_kern.h>
45#include <linux/delayacct.h>
44#include <linux/unistd.h> 46#include <linux/unistd.h>
45#include <linux/rmap.h> 47#include <linux/rmap.h>
46#include <linux/mempolicy.h> 48#include <linux/mempolicy.h>
@@ -574,6 +576,8 @@ asmlinkage void __init start_kernel(void)
574 proc_root_init(); 576 proc_root_init();
575#endif 577#endif
576 cpuset_init(); 578 cpuset_init();
579 taskstats_init_early();
580 delayacct_init();
577 581
578 check_bugs(); 582 check_bugs();
579 583