[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321976189.2474.35.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Tue, 22 Nov 2011 16:36:29 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Christoph Lameter <cl@...ux-foundation.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: [RFC, PATCH] slub: unfreeze_partials() uses a wrong param
unfreeze_partials() calls add_partial(..., 1) while it should use
DEACTIVATE_TO_TAIL or DEACTIVATE_TO_HEAD
Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
---
diff --git a/mm/slub.c b/mm/slub.c
index 7d2a996..db060b6 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1904,7 +1904,7 @@ 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_HEAD);
l = m;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists