patch-2.4.4 linux/mm/page_alloc.c
Next file: linux/mm/page_io.c
Previous file: linux/mm/mremap.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Apr 27 14:18:08 2001
- Orig file:
v2.4.3/linux/mm/page_alloc.c
- Orig date:
Tue Mar 20 15:05:46 2001
diff -u --recursive --new-file v2.4.3/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -295,8 +295,7 @@
* Can we take pages directly from the inactive_clean
* list?
*/
- if (order == 0 && (gfp_mask & __GFP_WAIT) &&
- !(current->flags & PF_MEMALLOC))
+ if (order == 0 && (gfp_mask & __GFP_WAIT))
direct_reclaim = 1;
/*
@@ -454,7 +453,6 @@
if (gfp_mask & __GFP_WAIT) {
memory_pressure++;
try_to_free_pages(gfp_mask);
- wakeup_bdflush(0);
goto try_again;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)