Re: [PATCH] vmscan: bail out of page reclaim after swap_cluster_max pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KOSAKI Motohiro
Date: Tuesday, November 25, 2008 - 7:24 pm

> +		/*

typo.
this patch can't compile.

---
 mm/vmscan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/mm/vmscan.c
===================================================================
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1469,7 +1469,7 @@ static void shrink_zone(int priority, st
 		 * freeing target can get unreasonably large.
 		 */
 		if (sc->nr_reclaimed > sc->swap_cluster_max &&
-		    sc->priority < DEF_PRIORITY && !current_is_kswapd())
+		    priority < DEF_PRIORITY && !current_is_kswapd())
 			break;
 	}
 


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] vmscan: bail out of page reclaim after swap_cl ..., KOSAKI Motohiro, (Tue Nov 25, 7:24 pm)
[rfc] vmscan: serialize aggressive reclaimers, Johannes Weiner, (Thu Nov 27, 10:36 am)
Re: [rfc] vmscan: serialize aggressive reclaimers, KOSAKI Motohiro, (Sat Nov 29, 12:46 am)
Re: [rfc] vmscan: serialize aggressive reclaimers, Johannes Weiner, (Sat Nov 29, 8:39 am)
[PATCH] vmscan: improve reclaim throuput to bail out patch, KOSAKI Motohiro, (Tue Dec 2, 10:26 pm)