[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080711.124152.247767508.davem@davemloft.net>
Date: Fri, 11 Jul 2008 12:41:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fujita.tomonori@....ntt.co.jp
Cc: mpatocka@...hat.com, sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org, jens.axboe@...cle.com
Subject: Re: [SUGGESTION]: drop virtual merge accounting in I/O requests
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Date: Fri, 11 Jul 2008 20:15:52 +0900
> On Fri, 11 Jul 2008 06:52:09 -0400 (EDT)
> Mikulas Patocka <mpatocka@...hat.com> 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 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