[Intel-gfx] [PATCH] RFC drm/i915: Stop the machine whilst capturing the GPU crash dump

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 13 07:02:26 PDT 2015


On Tue, Oct 13, 2015 at 02:52:46PM +0100, Chris Wilson wrote:
> On Tue, Oct 13, 2015 at 03:52:08PM +0200, Daniel Vetter wrote:
> > Yeah, hence using _rcu list macros. They have the relevant barriers
> > already and should work. The only difference is that instead of
> > synchronize_rcu on the write side before kfree, we'll use stop_machine on
> > the read side. It's still RCU, but with all the cost moved to the read
> > side while still keeping the benefit that the read side can be done
> > locklessly.
> 
> They imply a mb() on every write not just a barrier(), and we do a fair few
> list updates on each buffer.

Daniel pointed out that I was reading the version for pentium pro. But
the next question will be when does that actually get set?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list