On Sun, 1 May 2022 16:03:27 +0200
Mattias Rönnblom <mattias.ronnb...@ericsson.com> wrote:

> +struct data {
> +     rte_seqlock_t lock;
> +
> +     uint64_t a;
> +     uint64_t b __rte_cache_aligned;
> +     uint64_t c __rte_cache_aligned;
> +} __rte_cache_aligned;

This will end up taking 192 bytes per lock.
Which is a lot especially if embedded in another structure.

Reply via email to