rcu: move alignment to per-cpu structure
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Nov 2022 15:55:41 +0000 (10:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Nov 2022 15:55:41 +0000 (10:55 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/rcu.h

index 37eaaec199a301aabe628fb65359adedfe47e10f..c3c458212458271e95f78461031fcc7e5690b1cc 100644 (file)
--- a/src/rcu.h
+++ b/src/rcu.h
@@ -25,11 +25,11 @@ struct side_rcu_percpu_count {
        uintptr_t rseq_begin;
        uintptr_t end;
        uintptr_t rseq_end;
-}  __attribute__((__aligned__(SIDE_CACHE_LINE_SIZE)));
+};
 
 struct side_rcu_cpu_gp_state {
        struct side_rcu_percpu_count count[2];
-};
+} __attribute__((__aligned__(SIDE_CACHE_LINE_SIZE)));
 
 struct side_rcu_gp_state {
        struct side_rcu_cpu_gp_state *percpu_state;
This page took 0.02502 seconds and 4 git commands to generate.