File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,16 @@ struct _qt_threadqueue_node {
42
42
typedef struct {
43
43
/* The First Cacheline */
44
44
void * _Atomic head ;
45
- void * _Atomic tail ;
46
- uint8_t pad1 [CACHELINE_WIDTH - (2 * sizeof (void * ))];
45
+ uint8_t pad1 [CACHELINE_WIDTH - sizeof (void * )];
47
46
/* The Second Cacheline */
47
+ void * _Atomic tail ;
48
+ uint8_t pad2 [CACHELINE_WIDTH - sizeof (void * )];
49
+ /* The Third Cacheline */
48
50
void * shadow_head ;
49
51
/* the following is for estimating a queue's "busy" level, and is not
50
52
* guaranteed accurate (that would be a race condition) */
51
53
saligned_t nemesis_advisory_queuelen ;
52
- uint8_t pad2 [CACHELINE_WIDTH - sizeof (void * ) - sizeof (saligned_t )];
54
+ uint8_t pad3 [CACHELINE_WIDTH - sizeof (void * ) - sizeof (saligned_t )];
53
55
} NEMESIS_queue ;
54
56
55
57
struct _qt_threadqueue {
You can’t perform that action at this time.
0 commit comments