summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/ABBCCDDA.c
blob: 33620e268f85f3b8d8a233d6dc91ed91e6117a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <liblockdep/mutex.h>
#include "common.h"

void main(void)
{
	pthread_mutex_t a, b, c, d;

	pthread_mutex_init(&a, NULL);
	pthread_mutex_init(&b, NULL);
	pthread_mutex_init(&c, NULL);
	pthread_mutex_init(&d, NULL);

	LOCK_UNLOCK_2(a, b);
	LOCK_UNLOCK_2(b, c);
	LOCK_UNLOCK_2(c, d);
	LOCK_UNLOCK_2(d, a);
}
5f6b2e6eeb6b0906ac7&id2=d9aaed838765e28234cb700c7d1ac975cadf28c9'>diff)
IB/mlx5: Add ODP atomics support
Handle ODP atomic operations. When initiator of RDMA atomic operation use ODP MR to provide source data handle pagefault properly. Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat