Re: [PATCH v2 3/4] hwspinlock: annotate slot pointer as RCU sensitive

From: Wolfram Sang

Date: Mon Jun 29 2026 - 05:11:33 EST


On Mon, Jun 22, 2026 at 10:52:02AM +0200, Wolfram Sang wrote:

> Because 'slot' is used within an RCU read-lock, it must not be accessed
> directly but with RCU helpers. Annotate the pointer to enforce checking
> this. Sparse confirms the missing annotation:

This patch will not be needed anymore thanks to Matthew's XArray
conversion coming with the next iteration.