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

From: Jules Irenge
Date: Mon Dec 16 2019 - 08:37:19 EST




On Mon, 16 Dec 2019, Peter Zijlstra wrote:

> 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.
>
>

Thanks for the response. I already updated.