Re: Supporting segment sizes smaller than the page size

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

 



On Wed, Sep 21, 2022 at 04:28:32PM -0700, Bart Van Assche wrote:
> I have been asked to add support for DMA segment sizes that are smaller 
> than the page size to support a UFS controller with a maximum DMA segment 
> size of 4 KiB and a page size > 4 KiB (my understanding of the JEDEC UFS 
> host controller specification is that UFS host controllers should support a 
> maximum DMA segment size of 256 KiB). Does anyone want to comment on this 
> before I start working on a patch series?

Don't do it.  This gets us into all kinds of corner cases, and even
worse now requires to do the expensive segment walk for every I/O while
right now we have a nice little fast path.



[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