Re: ath11k: checking RCU usage

From: Kalle Valo
Date: Mon Jan 22 2024 - 09:39:12 EST


Johan Hovold <johan@xxxxxxxxxx> writes:

> On Mon, Jan 22, 2024 at 02:10:17PM +0100, Johan Hovold wrote:
>> On Sat, Jan 13, 2024 at 12:26:53PM +0200, Kalle Valo wrote:
>
>> > I just found out that sparse has __must_hold():
>> >
>> > https://lore.kernel.org/linux-wireless/87sf31hhfp.fsf@xxxxxxxxxx/
>> >
>> > That looks promising, should we start using that in ath11k and ath12k to
>> > check our RCU usage?
>>
>> I see that Johannes already commented on this in the thread above.
>>
>> I'm pretty sure smatch can't be used for this.
>
> I meant "sparse"...

Yeah, that was a disappointment. I should have tested it first :)

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches