Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8414
b: refs/heads/master
c: 13e4b57
h: refs/heads/master
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Linus Torvalds committed Sep 10, 2005
1 parent 46d3538 commit 426bf57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75bcc8c5e1de78616b04ef9f317a293a7c1c163c
refs/heads/master: 13e4b57f6a4e23ceb99794a650d777e74831f4a6
3 changes: 1 addition & 2 deletions trunk/mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,5 @@ void out_of_memory(unsigned int __nocast gfp_mask, int order)
* Give "p" a good chance of killing itself before we
* retry to allocate memory.
*/
__set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(1);
schedule_timeout_interruptible(1);
}
3 changes: 1 addition & 2 deletions trunk/mm/swapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,7 @@ asmlinkage long sys_swapoff(const char __user * specialfile)
p->highest_bit = 0; /* cuts scans short */
while (p->flags >= SWP_SCANNING) {
spin_unlock(&swap_lock);
set_current_state(TASK_UNINTERRUPTIBLE);
schedule_timeout(1);
schedule_timeout_uninterruptible(1);
spin_lock(&swap_lock);
}

Expand Down

0 comments on commit 426bf57

Please sign in to comment.