Commit 2a73142f authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds

[PATCH] mm/swapfile.c manual reschedule

fix yet another manual reschedule point
parent 7284d647
...@@ -736,8 +736,7 @@ static int try_to_unuse(unsigned int type) ...@@ -736,8 +736,7 @@ static int try_to_unuse(unsigned int type)
* interactive performance. Interruptible check on * interactive performance. Interruptible check on
* signal_pending() would be nice, but changes the spec? * signal_pending() would be nice, but changes the spec?
*/ */
if (need_resched()) cond_resched();
schedule();
} }
mmput(start_mm); mmput(start_mm);
......
Markdown is supported
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