From 3d4ed856c798f45a34b9d903c79d20d424818c61 Mon Sep 17 00:00:00 2001 From: Andrew Morton <akpm@zip.com.au> Date: Thu, 18 Jul 2002 21:09:44 -0700 Subject: [PATCH] [PATCH] restore CHECK_EMERGENCY_SYNC. Again. Put the CHECK_EMERGENCY_SYNC back into the kupdate function. I seem to keep removing it. --- mm/page-writeback.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 415b57658aa2..5420a670bc0d 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -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) long min_pages = _min_pages; int nr_to_write; + CHECK_EMERGENCY_SYNC + do { struct page_state ps; -- 2.30.9