Skip to contentSkip to conversation

restore CHECK_EMERGENCY_SYNC. Again.

PATCH In review Andrew Morton 1 participant 1 message Jul 17, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/13 restore CHECK_EMERGENCY_SYNC. Again.

Put the CHECK_EMERGENCY_SYNC back into the kupdate function. I seem to keep removing it.

 page-writeback.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)
mm/page-writeback.c renamed from mm/page-writeback.c~check_emergency_sync +3 -1
@@ -19,7 +19,7 @@
 #include <linux/pagemap.h>
 #include <linux/writeback.h>
 #include <linux/init.h>
-//#include <linux/sysrq.h>
+#include <linux/sysrq.h>
 #include <linux/backing-dev.h>
 #include <linux/mpage.h>
 
@@ -171,6 +171,8 @@ static void background_writeout(unsigned
 	long min_pages = _min_pages;
 	int nr_to_write;
 
+	CHECK_EMERGENCY_SYNC
+
 	do {
 		struct page_state ps;
 

.