Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1437222
| From | "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: linux-next: build failure after merge of the tip tree (from the drm-intel tree) |
| Date | 2016-07-05 20:10 +0200 |
| Message-ID | <rRCXf-6im-21@gated-at.bofh.it> (permalink) |
| References | <rRpGF-5XV-17@gated-at.bofh.it> <rRtTY-jt-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jul 05, 2016 at 10:25:12AM +0200, Peter Zijlstra wrote: > On Tue, Jul 05, 2016 at 01:53:03PM +1000, Stephen Rothwell wrote: > > diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c > > index d3502c0603e5..1f91f187b2a8 100644 > > --- a/drivers/gpu/drm/i915/i915_gem.c > > +++ b/drivers/gpu/drm/i915/i915_gem.c > > @@ -3290,7 +3290,7 @@ i915_gem_retire_work_handler(struct work_struct *work) > > * We do not need to do this test under locking as in the worst-case > > * we queue the retire worker once too often. > > */ > > - if (lockless_dereference(dev_priv->gt.awake)) > > + if (/*lockless_dereference*/(dev_priv->gt.awake)) > > queue_delayed_work(dev_priv->wq, > > &dev_priv->gt.retire_work, > > round_jiffies_up_relative(HZ)); > > diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c > > index f6de8dd567a2..2c1926418691 100644 > > --- a/drivers/gpu/drm/i915/i915_irq.c > > +++ b/drivers/gpu/drm/i915/i915_irq.c > > @@ -3095,7 +3095,7 @@ static void i915_hangcheck_elapsed(struct work_struct *work) > > if (!i915.enable_hangcheck) > > return; > > > > - if (!lockless_dereference(dev_priv->gt.awake)) > > + if (!/*lockless_dereference*/(dev_priv->gt.awake)) > > return; > > > > /* As enabling the GPU requires fairly extensive mmio access, > > Right, neither case appears to include a data dependency and thus > lockless_dereference() seems misguided. Agreed! At first glance, this code wants READ_ONCE() rather than lockless_dereference(). Thanx, Paul
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
linux-next: build failure after merge of the tip tree (from the drm-intel tree) Stephen Rothwell <sfr@canb.auug.org.au> - 2016-07-05 06:00 +0200
Re: linux-next: build failure after merge of the tip tree (from the drm-intel tree) Peter Zijlstra <peterz@infradead.org> - 2016-07-05 10:30 +0200
Re: linux-next: build failure after merge of the tip tree (from the drm-intel tree) "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-07-05 20:10 +0200
csiph-web