Re: [Intel-gfx] [PATCH 31/31] drm/i915: Drop some RCU usage around context VMs

2021-06-09 Thread Jason Ekstrand
On Wed, Jun 9, 2021 at 6:41 AM Daniel Vetter wrote: > > On Tue, Jun 08, 2021 at 11:36:13PM -0500, Jason Ekstrand wrote: > > This instance now only happens during context creation so there's no way > > we can race with a context close/destroy. We don't need to bother with > > the RCU and can acces

Re: [Intel-gfx] [PATCH 31/31] drm/i915: Drop some RCU usage around context VMs

2021-06-09 Thread Daniel Vetter
On Tue, Jun 08, 2021 at 11:36:13PM -0500, Jason Ekstrand wrote: > This instance now only happens during context creation so there's no way > we can race with a context close/destroy. We don't need to bother with > the RCU and can access the pointer directly. > > Signed-off-by: Jason Ekstrand Th

[Intel-gfx] [PATCH 31/31] drm/i915: Drop some RCU usage around context VMs

2021-06-08 Thread Jason Ekstrand
This instance now only happens during context creation so there's no way we can race with a context close/destroy. We don't need to bother with the RCU and can access the pointer directly. Signed-off-by: Jason Ekstrand --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 13 + 1 file c