Commit 3d4ed856 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] restore CHECK_EMERGENCY_SYNC. Again.

Put the CHECK_EMERGENCY_SYNC back into the kupdate function.  I seem to
keep removing it.
parent 7d0be429
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/writeback.h> #include <linux/writeback.h>
#include <linux/init.h> #include <linux/init.h>
//#include <linux/sysrq.h> #include <linux/sysrq.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/mpage.h> #include <linux/mpage.h>
...@@ -171,6 +171,8 @@ static void background_writeout(unsigned long _min_pages) ...@@ -171,6 +171,8 @@ static void background_writeout(unsigned long _min_pages)
long min_pages = _min_pages; long min_pages = _min_pages;
int nr_to_write; int nr_to_write;
CHECK_EMERGENCY_SYNC
do { do {
struct page_state ps; struct page_state ps;
......
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