Re: [PATCH v4 1/4] Introducing pw_lock() and per-cpu queue & flush work

From: Frederic Weisbecker

Date: Wed May 20 2026 - 11:11:28 EST


Le Wed, May 20, 2026 at 03:48:32PM +0200, Sebastian Andrzej Siewior a écrit :
> How likely is it, that you you had users before late_initcall()? Also
> can it happen that one of them uses one function to lock and the other
> unlock in this brief window? There is no check if this was used before
> static_branch usage.

Or let alone initialization on the wrong member of the union.

--
Frederic Weisbecker
SUSE Labs