* Re: [PATCH] mm, slab: Build fix for recent kmem_cache changes
[not found] ` <alpine.LFD.2.02.1207021342230.1916@tux.localdomain>
@ 2012-07-06 19:42 ` Christoph Lameter
0 siblings, 0 replies; only message in thread
From: Christoph Lameter @ 2012-07-06 19:42 UTC (permalink / raw)
To: Pekka Enberg; +Cc: Thierry Reding, linux-mm
And here is another fix:
Subject: slob: Undo slob hunk
Commit fd3142a59af2012a7c5dc72ec97a4935ff1c5fc6 broke
slob since a piece of a change for a later patch slipped into
it.
Signed-off-by: Christoph Lameter <cl@linux.com>
---
mm/slob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/mm/slob.c
===================================================================
--- linux-2.6.orig/mm/slob.c 2012-07-06 08:38:18.851205889 -0500
+++ linux-2.6/mm/slob.c 2012-07-06 08:38:47.259205237 -0500
@@ -516,7 +516,7 @@ struct kmem_cache *kmem_cache_create(con
if (c) {
c->name = name;
- c->size = c->object_size;
+ c->size = size;
if (flags & SLAB_DESTROY_BY_RCU) {
/* leave room for rcu footer at the end of object */
c->size += sizeof(struct slob_rcu);
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-06 19:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20120622174249.GB4144@avionic-0098.adnet.avionic-design.de>
[not found] ` <alpine.LFD.2.02.1207021342230.1916@tux.localdomain>
2012-07-06 19:42 ` [PATCH] mm, slab: Build fix for recent kmem_cache changes Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox