aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
-rw-r--r--init/main.c2
2 files changed, 12 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index a5b073a103e7..90498a3e53da 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -158,6 +158,16 @@ 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 TASK_DELAY_ACCT
162 bool "Enable per-task delay accounting (EXPERIMENTAL)"
163 help
164 Collect information on time spent by a task waiting for system
165 resources like cpu, synchronous block I/O completion and swapping
166 in pages. Such statistics can help in setting a task's priorities
167 relative to other tasks for cpu, io, rss limits etc.
168
169 Say N if unsure.
170
161config SYSCTL 171config SYSCTL
162 bool "Sysctl support" if EMBEDDED 172 bool "Sysctl support" if EMBEDDED
163 default y 173 default y
diff --git a/init/main.c b/init/main.c
index 628b8e9e841a..9e8e8c152142 100644
--- a/init/main.c
+++ b/init/main.c
@@ -41,6 +41,7 @@
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/delayacct.h>
44#include <linux/unistd.h> 45#include <linux/unistd.h>
45#include <linux/rmap.h> 46#include <linux/rmap.h>
46#include <linux/mempolicy.h> 47#include <linux/mempolicy.h>
@@ -574,6 +575,7 @@ asmlinkage void __init start_kernel(void)
574 proc_root_init(); 575 proc_root_init();
575#endif 576#endif
576 cpuset_init(); 577 cpuset_init();
578 delayacct_init();
577 579
578 check_bugs(); 580 check_bugs();
579 581