[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <554B0FA2.8000503@ladisch.de>
Date: Thu, 07 May 2015 09:09:22 +0200
From: Clemens Ladisch <clemens@...isch.de>
To: Johannes Thoma <johannes@...annesthoma.com>,
linux-kernel@...r.kernel.org
Subject: Re: Question about cacheline aligned memory for DMA transfers
Johannes Thoma wrote:
> Does kmalloc return only memory that is cache line aligned?
Yes.
> do all architectures handle cache line misalign ed dma accesses
> correctly?
x86 does. Most other architectures do not have DMA-coherent caches.
Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists