Commit 69b27baf authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

sched: add schedule_timeout_idle()

This will be needed in the patch "mm, oom: introduce oom reaper".

Acked-by: default avatarMichal Hocko <>
Cc: Ingo Molnar <>
Cc: Peter Zijlstra <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1701f680
......@@ -426,6 +426,7 @@ extern signed long schedule_timeout(signed long timeout);
extern signed long schedule_timeout_interruptible(signed long timeout);
extern signed long schedule_timeout_killable(signed long timeout);
extern signed long schedule_timeout_uninterruptible(signed long timeout);
extern signed long schedule_timeout_idle(signed long timeout);
asmlinkage void schedule(void);
extern void schedule_preempt_disabled(void);
......@@ -1566,6 +1566,17 @@ signed long __sched schedule_timeout_uninterruptible(signed long timeout)
* Like schedule_timeout_uninterruptible(), except this task will not contribute
* to load average.
signed long __sched schedule_timeout_idle(signed long timeout)
return schedule_timeout(timeout);
static void migrate_timer_list(struct tvec_base *new_base, struct hlist_head *head)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment