Re: [Regression] b1a000d3b8ec ("block: relax direct io memory alignment")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2024 at 12:40:13AM +0800, Ming Lei wrote:
> Hello Guys,
> 
> Turns out host controller's DMA alignment is often too relax, so two DMA
> buffers may cross same cache line easily, and trigger the warning of
> "cacheline tracking EEXIST, overlapping mappings aren't supported".
> 
> The attached test code can trigger the warning immediately with CONFIG_DMA_API_DEBUG
> enabled when reading from one scsi disk which queue DMA alignment is 3.
> 

We should not allow smaller than cache line alignment on architectures
that are not cache coherent indeed.





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux