[patch 6/13] restore CHECK_EMERGENCY_SYNC. Again.

Andrew Morton (akpm@zip.com.au)
Tue, 16 Jul 2002 22:29:49 -0700


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(-)

--- 2.5.26/mm/page-writeback.c~check_emergency_sync Tue Jul 16 21:46:35 2002
+++ 2.5.26-akpm/mm/page-writeback.c Tue Jul 16 21:59:38 2002
@@ -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;

.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/