aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/delayacct.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/delayacct.c')
-rw-r--r--kernel/delayacct.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/delayacct.c b/kernel/delayacct.c
index 10e43fd8b721..84b6782a2ce4 100644
--- a/kernel/delayacct.c
+++ b/kernel/delayacct.c
@@ -165,3 +165,16 @@ __u64 __delayacct_blkio_ticks(struct task_struct *tsk)
165 return ret; 165 return ret;
166} 166}
167 167
168void __delayacct_freepages_start(void)
169{
170 delayacct_start(&current->delays->freepages_start);
171}
172
173void __delayacct_freepages_end(void)
174{
175 delayacct_end(&current->delays->freepages_start,
176 &current->delays->freepages_end,
177 &current->delays->freepages_delay,
178 &current->delays->freepages_count);
179}
180