Messages in this thread | | | Date | Tue, 21 Mar 2006 13:32:42 +0200 (EET) | From | Pekka J Enberg <> | Subject | Re: [PATCH] slab: introduce kmem_cache_zalloc allocator |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |