Re: [PATCH] slab: optimize constant-size kzalloc calls

From: Andrew Morton
Date: Tue Mar 21 2006 - 06:21:37 EST


Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
>
> As suggested by Eric Dumazet, this patch optimizes kzalloc() calls
> that pass a compile-time constant size.

Logical.

> Please note that the patch
> increases kernel text slightly (~200 bytes for defconfig on x86)

Why?
-
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/