1STRUCT RESERVATION_O(9) Device drivers infrastructure STRUCT RESERVATION_O(9)
2
3
4
6 struct_reservation_object - a reservation object manages fences for a
7 buffer
8
10 struct reservation_object {
11 struct ww_mutex lock;
12 seqcount_t seq;
13 struct dma_fence __rcu * fence_excl;
14 struct reservation_object_list __rcu * fence;
15 struct reservation_object_list * staged;
16 };
17
19 lock
20 update side lock
21
22 seq
23 sequence count for managing RCU read-side synchronization
24
25 fence_excl
26 the exclusive fence, if there is one currently
27
28 fence
29 list of current shared fences
30
31 staged
32 staged copy of shared fences for RCU updates
33
35Kernel Hackers Manual 3.10 June 2019 STRUCT RESERVATION_O(9)