Re: [PATCH 3/7] dma-buf: add dma_fence_chain_alloc/free self tests

2021-06-11 Thread Christian König
Am 11.06.21 um 09:58 schrieb Daniel Vetter: On Thu, Jun 10, 2021 at 11:17:56AM +0200, Christian König wrote: Exercise the newly added functions. Signed-off-by: Christian König I have honestly no idea what this checks. Spawning a few threads to validate kmalloc/kfree feels a bit silly. Now tes

Re: [PATCH 3/7] dma-buf: add dma_fence_chain_alloc/free self tests

2021-06-11 Thread Daniel Vetter
On Thu, Jun 10, 2021 at 11:17:56AM +0200, Christian König wrote: > Exercise the newly added functions. > > Signed-off-by: Christian König I have honestly no idea what this checks. Spawning a few threads to validate kmalloc/kfree feels a bit silly. Now testing whether we correctly rcu-delay the f

[PATCH 3/7] dma-buf: add dma_fence_chain_alloc/free self tests

2021-06-10 Thread Christian König
Exercise the newly added functions. Signed-off-by: Christian König --- drivers/dma-buf/st-dma-fence-chain.c | 48 1 file changed, 48 insertions(+) diff --git a/drivers/dma-buf/st-dma-fence-chain.c b/drivers/dma-buf/st-dma-fence-chain.c index 8ce1ea59d31b..855c129c6