Skip to contentSkip to conversation

mm, slab: Build fix for recent kmem_cache changes

PATCH Christoph Lameter 1 participant 1 message Jul 6, 2012 2 messages not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

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.

---
 mm/slob.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/slob.c +1 -1
Index: linux-2.6/mm/slob.c
===================================================================
@@ -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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>