Re: [PATCH] slab: introduce kmem_cache_zalloc allocator

From: Pekka J Enberg
Date: Tue Mar 21 2006 - 06:30:06 EST


On Tue, 21 Mar 2006, Bodo Eggert wrote:
> Yes. At least that's what I understand from the whole zalloc process.

Zalloc does two things: (1) reduce human error and (2) shrink kernel text
size. Pre-zeroing is a possible optimization but needs to be measured. It
is not necessarily a positive gain due to cache effects.

Pekka
-
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/