linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2/4  -ac to newer rmap
@ 2002-11-13 11:37 Rik van Riel
  0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 2002-11-13 11:37 UTC (permalink / raw)
  To: Alan Cox; +Cc: Arjan van de Ven, linux-mm

remove dead code from page_launder_zone()

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.692   -> 1.693  
#	         mm/vmscan.c	1.79    -> 1.80   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/09/18	riel@duckman.distro.conectiva	1.693
# remove dead code from page_launder_zone()
# --------------------------------------------
#
diff -Nru a/mm/vmscan.c b/mm/vmscan.c
--- a/mm/vmscan.c	Wed Nov 13 08:54:59 2002
+++ b/mm/vmscan.c	Wed Nov 13 08:54:59 2002
@@ -258,15 +258,6 @@
 		if (maxlaunder < 0)
 			gfp_mask &= ~(__GFP_IO|__GFP_FS);
 
-		/* Wrong page on list?! (list corruption, should not happen) */
-		if (!PageInactiveDirty(page)) {
-			printk("VM: page_launder, wrong page on list.\n");
-			list_del(entry);
-			nr_inactive_dirty_pages--;
-			page_zone(page)->inactive_dirty_pages--;
-			continue;
-		}
-
 		/*
 		 * Page is being freed, don't worry about it.
 		 */
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-13 11:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-13 11:37 [PATCH] 2/4 -ac to newer rmap Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox