[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080930183310.GB20341@il.ibm.com>
Date: Tue, 30 Sep 2008 21:33:10 +0300
From: Muli Ben-Yehuda <muli@...ibm.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Joerg Roedel <joerg.roedel@....com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, iommu@...ts.linux-foundation.org,
David Woodhouse <dwmw2@...radead.org>,
Amit Shah <amit.shah@...ranet.com>,
Ingo Molnar <mingo@...hat.com>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Subject: Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register
interface
On Tue, Sep 30, 2008 at 05:38:15PM +0200, Ingo Molnar wrote:
>
> * Muli Ben-Yehuda <muli@...ibm.com> wrote:
>
> > > > +static int calgary_device_supported(struct device *dev)
> > > > +{
> > > > + return translation_enabled(find_iommu_table(dev));
> > > > +}
> >
> > Sure, but I prefer the explicit form since it lends itself to easier
> > debugging (oops line numbers, adding printks, etc.).
>
> we never do that for simple stuff like this. The kernel would be
> twice as large if we did.
I assume you are talking about the source size, because the generated
code size should be exactly the same.
In any case, arguing where to place the semi-colon is a waste of
time. Do as you see fit.
Cheers,
Muli
--
The First Workshop on I/O Virtualization (WIOV '08)
Dec 2008, San Diego, CA, http://www.usenix.org/wiov08/
xxx
SYSTOR 2009---The Israeli Experimental Systems Conference
http://www.haifa.il.ibm.com/conferences/systor2009/
--
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