Re: [PATCH] kernel: events: add releases() notation

From: Peter Zijlstra
Date: Mon Dec 16 2019 - 03:31:51 EST


On Mon, Dec 16, 2019 at 12:24:00AM +0000, Jules Irenge wrote:
> Add releases() notation to remove issue detected by sparse
> context imbalance in perf_output_end() - unexpected unlock

None of the perf code uses the __acquire / __release annotations crud.
Also, your annotation is broken, I think it should be __releases(RCU) or
something like that.