Alexander Shishkin writes:
> To clarify why atomic_inc_return(&perf_sched_events) is not sufficient and
> a mutex is needed to order static branch enabling vs the atomic counter
> increment, this adds a comment with an short explanation.
"with a short explanation", sigh
>
> Signed-off-by: Alexa
To clarify why atomic_inc_return(&perf_sched_events) is not sufficient and
a mutex is needed to order static branch enabling vs the atomic counter
increment, this adds a comment with an short explanation.
Signed-off-by: Alexander Shishkin
---
kernel/events/core.c | 5 +
1 file changed, 5 ins
2 matches
Mail list logo