linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch] slub: fix a code merge error
@ 2011-11-10  8:04 Shaohua Li
  2011-11-10 14:44 ` Christoph Lameter
  2011-11-10 20:18 ` David Rientjes
  0 siblings, 2 replies; 9+ messages in thread
From: Shaohua Li @ 2011-11-10  8:04 UTC (permalink / raw)
  To: linux-mm; +Cc: penberg, cl

Looks there is a merge error in the slub tree. DEACTIVATE_TO_TAIL != 1.
And this will cause performance regression.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>

diff --git a/mm/slub.c b/mm/slub.c
index 7d2a996..60e16c4 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1904,7 +1904,8 @@ static void unfreeze_partials(struct kmem_cache *s)
 				if (l == M_PARTIAL)
 					remove_partial(n, page);
 				else
-					add_partial(n, page, 1);
+					add_partial(n, page,
+						DEACTIVATE_TO_TAIL);
 
 				l = m;
 			}


--
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 related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-16 23:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-10  8:04 [patch] slub: fix a code merge error Shaohua Li
2011-11-10 14:44 ` Christoph Lameter
2011-11-10 20:18 ` David Rientjes
2011-11-10 20:30   ` Pekka Enberg
2011-11-11  0:33     ` Shaohua Li
2011-11-14  1:56     ` alex shi
2011-11-14  3:12       ` Shaohua Li
2011-11-15  6:45       ` Pekka Enberg
2011-11-16 23:06         ` David Rientjes

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