diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-11-12 07:05:02 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:15 -0400 |
commit | cd072a192b0de73c512dfa3ca9ed4b5c25f10119 (patch) | |
tree | d178d051f98dae7f9352d211023aabfd696023e7 /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | 1d9fba8804fb811771eac0f68f334f51f101ed01 (diff) |
gpu: nvgpu: cde: restrict context count
Add an upper limit for cde contexts, and wait for a while if a new
context is queried and the limit has been exceeded. This happens only
under very high load. If the timeout is exceeded, report -EAGAIN.
Change-Id: I1fa47ad6cddf620eae00cea16ecea36cf4151cab
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/601719
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
0 files changed, 0 insertions, 0 deletions