linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: vmscan: no change of reclaim mode if unevictable page encountered
@ 2012-01-07  3:46 Hillf Danton
  2012-01-10  9:40 ` Mel Gorman
  0 siblings, 1 reply; 5+ messages in thread
From: Hillf Danton @ 2012-01-07  3:46 UTC (permalink / raw)
  To: linux-mm
  Cc: KAMEZAWA Hiroyuki, David Rientjes, Mel Gorman, Andrew Morton,
	Hillf Danton, LKML

Since unevictable page is not isolated from lru list for shrink_page_list(),
it is accident if encountered in shrinking, and no need to change reclaim mode.

Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Hillf Danton <dhillf@gmail.com>
---

--- a/mm/vmscan.c	Thu Dec 29 20:20:16 2011
+++ b/mm/vmscan.c	Sat Jan  7 11:27:44 2012
@@ -995,7 +995,6 @@ cull_mlocked:
 			try_to_free_swap(page);
 		unlock_page(page);
 		putback_lru_page(page);
-		reset_reclaim_mode(sc);
 		continue;

 activate_locked:

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-11 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07  3:46 [PATCH] mm: vmscan: no change of reclaim mode if unevictable page encountered Hillf Danton
2012-01-10  9:40 ` Mel Gorman
2012-01-10 16:27   ` Hillf Danton
2012-01-10 16:57     ` Mel Gorman
2012-01-11 12:14       ` Hillf Danton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).