commit | 4901b5ff0e882b0b4e80d0adcbbf0c0f2a524560 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jul 25 21:09:43 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Aug 06 21:59:55 2013 +0200 |
tree | 39e5ce564ae8a42eb4c2ec9e702334ad82857415 | |
parent | 9ff5161354f2f8023e08eb87ebc173c01c2f607a [diff] |
tests/prime_self_import: Add racing handle2fd testcase Similar to how we test flink races. Note that on unfixed kernels this oopses, and with my current set of patches it still leaks like mad. v2: Only close the prime fd if we've successfully created it. v3: Add a reimport test to check whether we don't race when reaping the obj->dma_buf link. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>