[RFC 1/2] testpmd: make f_quit flag volatile
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Sun Nov 6 11:48:58 CET 2022
On 10/14/22 20:23, Stephen Hemminger wrote:
> Since f_quit is set in a signal handler it needs
> to be marked as volatile. Otherwise, compler is allowed
compler -> compiler
> to optimize away access to it.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
I need non-RFC version to apply it.
More information about the dev
mailing list