summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/mlock.cc
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2019-08-20 15:05:17 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-20 15:06:54 -0700
commit3d0715b3f8e7864104e9cbb29b16e6a6b7568d63 (patch)
tree2260b3c6dfcff7ec18901c7201740de89551ec15 /test/syscalls/linux/mlock.cc
parentcf8a689be7fdb539bb789ebd52ce19432776f16d (diff)
Fix flaky futex test.
The test is long running (175128 ms or so) which causes timeouts. The test simply makes sure that private futexes can acquire locks concurrently. Dropping current threads and increasing the number of locks each thread tests the same concurrency concerns but drops execution time to ~1411 ms. PiperOrigin-RevId: 264476144
Diffstat (limited to 'test/syscalls/linux/mlock.cc')
0 files changed, 0 insertions, 0 deletions