[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT PATCH, v2, 09/15] lib/ukring: Remove unsupported cache line size
Signed-off-by: Alexander Jung <alexander.jung@xxxxxxxxx> --- lib/ukring/include/uk/ring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ukring/include/uk/ring.h b/lib/ukring/include/uk/ring.h index 01adaf3..e1a0387 100644 --- a/lib/ukring/include/uk/ring.h +++ b/lib/ukring/include/uk/ring.h @@ -46,14 +46,14 @@ struct uk_ring { int prod_size; int prod_mask; uint64_t drops; - volatile uint32_t cons_head __aligned(CACHE_LINE_SIZE); + volatile uint32_t cons_head; volatile uint32_t cons_tail; int cons_size; int cons_mask; #ifdef CONFIG_LIBUKDEBUG struct uk_mutex *lock; #endif - void *ring[0] __aligned(CACHE_LINE_SIZE); + void *ring[0]; }; -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |