From: Jens Axboe <jens.axboe@oracle.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: jeremy@goop.org, linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BIOVEC_PHYS_MERGEABLE
Date: Mon, 27 Oct 2008 10:41:11 +0100 [thread overview]
Message-ID: <20081027094111.GU22217@kernel.dk> (raw)
In-Reply-To: <20081027183604V.fujita.tomonori@lab.ntt.co.jp>
On Mon, Oct 27 2008, FUJITA Tomonori wrote:
> On Mon, 27 Oct 2008 20:18:44 +1100
> Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
> > FUJITA Tomonori wrote:
> > > I'm not familiar with what Xen does but why can't Xen just override
> > > BIOVEC_PHYS_MERGEABLE?
> > >
> > > Why does Xen need to hook BIOVEC_PHYS_MERGEABLE to the iommu_bio_merge
> > > parameter (as this patch does)? BIOVEC_PHYS_MERGEABLE and the
> > > iommu_bio_merge parameter are not related at all.
> > >
> >
> > No, it doesn't. It was convenient to reuse that mechanism, but I can
> > easily re-add something else (which would be more or less identical).
>
> I still don't see how Xen needs something like the virtual merge
> (sounds that overriding BIOVEC_PHYS_MERGEABLE perfectly works for Xen)
> or why Xen needs a new boot parameter for it. The virtual merge just
> defines how IOMMUs should work.
Pretty much baffles me as well, xen should just need to do
#define BIOVEC_PHYS_MERGEABLE(vec1, vec2) 0
and that should be it.
--
Jens Axboe
next prev parent reply other threads:[~2008-10-27 9:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 5:41 [PATCH] x86: remove dead BIO_VMERGE_BOUNDARY definition FUJITA Tomonori
2008-10-24 20:58 ` Jeremy Fitzhardinge
2008-10-27 4:42 ` FUJITA Tomonori
2008-10-24 20:59 ` [PATCH 1/2] bio: define __BIOVEC_PHYS_MERGEABLE Jeremy Fitzhardinge
2008-10-24 20:59 ` [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BIOVEC_PHYS_MERGEABLE Jeremy Fitzhardinge
2008-10-27 3:52 ` FUJITA Tomonori
2008-10-27 8:21 ` Jeremy Fitzhardinge
2008-10-27 8:37 ` FUJITA Tomonori
2008-10-27 9:18 ` Jeremy Fitzhardinge
2008-10-27 9:36 ` FUJITA Tomonori
2008-10-27 9:41 ` Jens Axboe [this message]
2008-10-27 11:43 ` Jeremy Fitzhardinge
2008-10-27 11:57 ` Jens Axboe
2008-10-28 23:06 ` FUJITA Tomonori
2008-10-29 8:37 ` Ingo Molnar
2008-10-29 9:24 ` Jeremy Fitzhardinge
2008-10-29 10:51 ` Ingo Molnar
2008-10-29 11:25 ` Ingo Molnar
2008-10-29 11:27 ` Jens Axboe
2008-10-29 11:30 ` Ingo Molnar
2008-10-29 11:34 ` Jens Axboe
2008-10-29 11:55 ` FUJITA Tomonori
2008-10-29 12:12 ` Jeremy Fitzhardinge
2008-10-29 13:03 ` Ingo Molnar
2008-10-29 13:06 ` Jeremy Fitzhardinge
2008-10-29 13:06 ` Jens Axboe
2008-10-29 9:27 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081027094111.GU22217@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.