]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma-buf/selftests: test RCU ops and inline lock v2
authorChristian König <christian.koenig@amd.com>
Thu, 11 Dec 2025 10:37:47 +0000 (11:37 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 23 Feb 2026 15:14:19 +0000 (16:14 +0100)
commit3695d754ffbb176afe3cb47b705b72bf85ed63f0
treea3075664911113f05a2998e9fd99f2ede0a206b2
parent1f32f310a13c9fb67a9993ab67f596b3f960206f
dma-buf/selftests: test RCU ops and inline lock v2

Drop the mock_fence and the kmem_cache, instead use the inline lock and
test if the ops are properly dropped after signaling.

v2: move the RCU check to the end of the test

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://lore.kernel.org/r/20260219160822.1529-6-christian.koenig@amd.com
drivers/dma-buf/st-dma-fence.c