[PATCH v4 2/8] eal: fixes for re-initialization issues
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 15 19:49:06 CEST 2023
On Tue, 15 Aug 2023 10:50:17 -0400
okaya at kernel.org wrote:
> +static uint32_t run_once;
> +
> int
> eal_clean_runtime_dir(void)
> {
> @@ -505,6 +507,7 @@ eal_parse_socket_arg(char *strval, volatile uint64_t *socket_arg)
> socket_arg[i] = val;
> }
>
> + __atomic_store_n(&run_once, 0, __ATOMIC_RELAXED);
> return 0;
Interesting, other flags don't use atomic. Why here?
And is already set elsewhere?
More information about the dev
mailing list