Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patchadded to -mm tree

From: Nick Piggin
Date: Tue May 08 2007 - 23:47:48 EST


Nick Piggin wrote:

+static void kmem_rcu_free(struct rcu_head *head)
+{
+ struct slob_rcu *slob_rcu = (struct slob_rcu *)head;
+ void *b = (void *)slob_rcu - slob_rcu->c->size;

No, I forgot that c->size includes the size of struct slob_rcu here.
Will send updated patch which is tested and includes SOB.

+
+ __kmem_cache_free(b, slob_rcu->c);
+}

--
SUSE Labs, Novell Inc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/