summaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2016-05-26 08:41:08 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2016-06-03 08:50:40 +0300
commit121b78e679ee3ffab780115e260b2775d0cc1f73 (patch)
tree89fe5381f5d37eb84603d05a4a303b7742e6a38b /Documentation/i2c
parentab3ab68493aaac6fea4ad1bb597def9f48f41c71 (diff)
drm/amdkfd: unbind only existing processes
When unbinding a process from a device (initiated by amd_iommu_v2), the driver needs to make sure that process still exists in the process table. There is a possibility that amdkfd's own notifier handler - kfd_process_notifier_release() - was called before the unbind function and it already removed the process from the process table. v2: Because there can be only one process with the specified pasid, and because *p can't be NULL inside the hash_for_each_rcu macro, it is more reasonable to just put the whole code inside the if statement that compares the pasid value. That way, when we exit hash_for_each_rcu, we simply exit the function as well. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions