All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vmscan: zone_reclaim don't call disable_swap_token()
@ 2010-06-25  8:31 ` KOSAKI Motohiro
  0 siblings, 0 replies; 10+ messages in thread
From: KOSAKI Motohiro @ 2010-06-25  8:31 UTC (permalink / raw)
  To: Rik van Riel, Christoph Lameter, LKML, linux-mm, Andrew Morton
  Cc: kosaki.motohiro

Swap token don't works when zone reclaim is enabled since it was born.
Because __zone_reclaim() always call disable_swap_token()
unconditionally.

This kill swap token feature completely. As far as I know, nobody want
to that. Remove it.

Cc: Rik van Riel <riel@redhat.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 mm/vmscan.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index 9c7e57c..0c961f1 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2590,7 +2590,6 @@ static int __zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order)
 	};
 	unsigned long slab_reclaimable;
 
-	disable_swap_token();
 	cond_resched();
 	/*
 	 * We need to be able to allocate from the reserves for RECLAIM_SWAP
-- 
1.6.5.2




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

end of thread, other threads:[~2010-06-28 10:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-25  8:31 [PATCH] vmscan: zone_reclaim don't call disable_swap_token() KOSAKI Motohiro
2010-06-25  8:31 ` KOSAKI Motohiro
2010-06-25 14:10 ` Rik van Riel
2010-06-25 14:10   ` Rik van Riel
2010-06-26 23:56 ` Minchan Kim
2010-06-26 23:56   ` Minchan Kim
2010-06-28  1:37   ` KOSAKI Motohiro
2010-06-28  1:37     ` KOSAKI Motohiro
2010-06-28 10:46     ` Minchan Kim
2010-06-28 10:46       ` Minchan Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.