[PATCH v3 2/3] spinlock: add debug checks in recursive unlock
Thomas Monjalon
thomas at monjalon.net
Tue May 19 13:19:05 CEST 2026
19/05/2026 12:34, Thomas Monjalon:
> The recursive unlock assumes that the caller owns the lock.
> This behavior will be checked when RTE_ENABLE_ASSERT is on.
> There is an additional check for the count which should be positive
> if no corruption happened.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> v3: new patch in the series
Forgot:
Suggested-by: Stephen Hemminger <stephen at networkplumber.org>
Suggested-by: Robin Jarry <rjarry at redhat.com>
More information about the dev
mailing list