Re: [PATCH v3 12/18] nvme: add context annotations for nvme_queue::sq_lock
Nilay Shroff <[email protected]>
| Newsgroups | org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/9/26 12:02 PM, Christoph Hellwig wrote: > On Mon, Jul 06, 2026 at 07:44:14PM +0530, Nilay Shroff wrote: >> + /* Initialize unpublished lock-guarded variables. */ >> + context_unsafe( >> + nvmeq->sq_tail = 0; >> + nvmeq->last_sq_tail = 0; >> + ); > > We'll still need to find a way to avoid this mess.. > Okay so then I think lets annotate init function using __context_unsafe and remove the initialization of variable from within context_unsafe(...) statement expression. Thanks, --Nilay