Re: [PATCH v1] compiler: prevent dead store elimination

From: Arjan van de Ven
Date: Mon Mar 01 2010 - 00:13:05 EST

On Sat, 27 Feb 2010 21:47:42 +0100
Roel Kluin <roel.kluin@xxxxxxxxx> wrote:
> +void secure_bzero(void *p, size_t n)
> +{
> + memset(p, 0, n);
> +}
> +EXPORT_SYMBOL(secure_bzero);

please don't introduce bzero again to the kernel;

make it secure_memset() please.

Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at