Re: [PATCH 2/2] slab.h: sprinkle __assume_aligned attributes

From: Christoph Lameter
Date: Fri Oct 02 2015 - 06:51:07 EST


On Fri, 2 Oct 2015, Rasmus Villemoes wrote:

> The various allocators return aligned memory. Telling the compiler
> that allows it to generate better code in many cases, for example when
> the return value is immediately passed to memset().


Looks good.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>

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