Re: block: DMA alignment of IO buffer allocated from slab
From: Bart Van Assche
Date: Mon Sep 24 2018 - 11:58:46 EST
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