[PATCH v2 1/2] drm/i915/gvt: Fix possible recursive locking issue
Zhenyu Wang
zhenyuw at linux.intel.com
Sat Jun 24 12:15:30 UTC 2017
On 2017.06.23 10:32:48 +0000, Dong, Chuanxiao wrote:
>
> There will be a corner case when check list_empty(unpin_list) for scheduling the unpin_work. If there is no gfn marked removed in this notifier but the unpin_list is not empty which is doing the unpin, notifier will schedule the unpin_work again. Looks like using the check list_empty() can involve unnecessary scheduling of unpin_work. What do you think?
>
yeah, good point and that has its own sync issue, so agree for your current version.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170624/9b99f57e/attachment.sig>
More information about the intel-gvt-dev
mailing list