[PATCH v5] eal: add seqlock
Stephen Hemminger
stephen at networkplumber.org
Sun May 1 22:17:52 CEST 2022
On Sun, 1 May 2022 16:03:27 +0200
Mattias Rönnblom <mattias.ronnblom at 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.
More information about the dev
mailing list