diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-04-01 06:55:52 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-19 11:17:30 -0400 |
commit | 2ac8c9729a5b7ca0b0bdc053e72d2b4658f8bed7 (patch) | |
tree | 36e0371f952b821bb6f117616a781667b56565c2 /include/uapi/linux | |
parent | c8d17e9167dec4282c04bbb6581ea1de5fbf9ac2 (diff) |
gpu: nvgpu: make jobs_lock more fine grained
While processing all the jobs in gk20a_channel_clean_up_jobs(),
We currently acquire jobs_lock, traverse the list,
clean up the jobs, and then release the lock
But in this case we might hold the lock for too long
blocking the submit path
Hence make jobs_lock more fine grained by restricting
it for list accesses only
Bug 200187553
Change-Id: If82af8ff386f7bc29061cfd57fdda7df62f11c17
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1120412
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions