mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: unit: atomic: decrease test time for xchg tests
The threaded xchg tests were running long and causing failures with the QNX framework. This decreases the number of iterations for these tests. JIRA NVGPU-3954 Change-Id: Ie4153b815ad81664ed3b4d4cb058c522cce3e609 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2189348 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Nicolas Benech <nbenech@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
fa002fac86
commit
5f23a16bdd
@@ -1456,7 +1456,7 @@ struct atomic_test_args xchg_not_atomic_arg = {
|
||||
.start_val = 1,
|
||||
.value = 1,
|
||||
.loop_count = 10000,
|
||||
.repeat_count = 10000, /* for threaded test */
|
||||
.repeat_count = 5000, /* for threaded test */
|
||||
};
|
||||
struct atomic_test_args xchg_32_arg = {
|
||||
.op = op_cmpxchg,
|
||||
@@ -1464,7 +1464,7 @@ struct atomic_test_args xchg_32_arg = {
|
||||
.start_val = 1,
|
||||
.value = 1,
|
||||
.loop_count = 10000,
|
||||
.repeat_count = 10000, /* for threaded test */
|
||||
.repeat_count = 5000, /* for threaded test */
|
||||
};
|
||||
struct atomic_test_args xchg_64_arg = {
|
||||
.op = op_cmpxchg,
|
||||
@@ -1472,7 +1472,7 @@ struct atomic_test_args xchg_64_arg = {
|
||||
.start_val = INT_MAX,
|
||||
.value = 1,
|
||||
.loop_count = 10000,
|
||||
.repeat_count = 10000, /* for threaded test */
|
||||
.repeat_count = 5000, /* for threaded test */
|
||||
};
|
||||
struct atomic_test_args cmpxchg_not_atomic_arg = {
|
||||
.op = op_cmpxchg,
|
||||
|
||||
Reference in New Issue
Block a user