diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2018-09-01 17:05:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-20 13:51:40 -0400 |
commit | c28e73ee2f92d1d287637a22d40d170b42771f96 (patch) | |
tree | a22c6e5352fee71ccab2ba859bdef4de66707845 /.gitignore | |
parent | eada4a3823cd8d1471141c3a4ed7c5ffa9b5e798 (diff) |
gpu: nvgpu: fix race condition in pmu_rpc_handler
There was a race condition between pmu_rpc_handler and
nvgpu_pmu_rpc_execute. The later could free the buffer before
pmu_rpc_handler could access related data.
Added explicit field in rpc_payload, so that nvgpu_pmu_rpc_execute
can wait until pmu_rpc_handler completes.
Bug 2331655
Change-Id: Ic2653524159eff10504b9c2625b5241610b5f5f0
Reviewed-on: https://git-master.nvidia.com/r/1811299
Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1817582
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions