[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190801061021.GA14955@lst.de>
Date: Thu, 1 Aug 2019 08:10:21 +0200
From: Christoph Hellwig <hch@....de>
To: Lu Baolu <baolu.lu@...ux.intel.com>
Cc: David Woodhouse <dwmw2@...radead.org>,
Joerg Roedel <joro@...tes.org>, ashok.raj@...el.com,
jacob.jun.pan@...el.com, kevin.tian@...el.com,
Christoph Hellwig <hch@....de>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: Re: [PATCH 1/3] iommu/vt-d: Refactor find_domain() helper
On Thu, Aug 01, 2019 at 02:01:54PM +0800, Lu Baolu wrote:
> + /* No lock here, assumes no domain exit in normal case */
s/exit/exists/ ?
> + info = dev->archdata.iommu;
> + if (likely(info))
> + return info->domain;
But then again the likely would be odd.
Powered by blists - more mailing lists