Re: [PATCH 2/2] drm/i915: add lockdep_assert_held in i915_ppat_{get, put}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2017-09-14 at 19:39 +0100, Chris Wilson wrote:
> Quoting Zhi Wang (2017-09-14 18:24:10)
> > struct_mutext needs to be held before call these two APIs.
> 
> True for the moment. But raises a question of whether introducing a
> ppat->mutex would be beneficial? All depends on whether the caller is
> already forced to use struct_mutex and is likely to continue to need it
> next year...

I doubt this will be performance critical, so introducing separate
locking should not hurt.

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux