On Mon, 2018-09-24 at 18:52 +-0300, Andrey Ryabinin wrote: +AD4 Yes, with CONFIG+AF8-DEBUG+AF8-SLAB+AD0-y, CONFIG+AF8-SLUB+AF8-DEBUG+AF8-ON+AD0-y kmalloc() guarantees +AD4 that result is aligned on ARCH+AF8-KMALLOC+AF8-MINALIGN boundary. Had you noticed that Vitaly Kuznetsov showed that this is not the case? See also https://lore.kernel.org/lkml/87h8ij0zot.fsf+AEA-vitty.brq.redhat.com/. Thanks, Bart.