Re: [SUGGESTION]: drop virtual merge accounting in I/O requests

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

 



From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Date: Fri, 11 Jul 2008 20:15:52 +0900

> On Fri, 11 Jul 2008 06:52:09 -0400 (EDT)
> Mikulas Patocka <mpatocka@xxxxxxxxxx> wrote:
> 
> > On Fri, 11 Jul 2008, FUJITA Tomonori wrote:
> > 
> > > Yeah, IOMMUs can't guarantee that. The majority of architectures set
> > > BIO_VMERGE_BOUNDARY to 0 so they don't hit this, I think.
> > 
> > Yes, the architectures without IOMMU don't hit this problem.
> 
> I meant that even if some architectures support IOMMUs, they set
> BIO_VMERGE_BOUNDARY to 0.

Keep in mind that these settings were added long before
we supported segment boundary restrictions.

Someone added code to handle segment boundaries, but didn't
fix any of the block I/O layer infrastructure :-)

Several platforms that have IOMMU but set these values to zero
actually did so for another reason.  They considered being
required to always merge page-adjacent mappings virtually too
strong a requirement to meet %100 of the time.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux