Re: [PATCH v2] lockdep: add lockdep_cleanup_dead_cpu()

From: David Woodhouse
Date: Thu Sep 26 2024 - 12:37:27 EST


On Thu, 2024-09-26 at 09:09 -0700, Boqun Feng wrote:
>
> I won't call this a "perfectly harmless bug", safe_halt() also contains
> tracepoints, which are not supposed to work in offline path IIUC, for
> example, you may incorrectly use RCU when RCU is not watching, that
> could mean reading garbage memory (surely it won't crash the system, but
> I hope I never need to debug such a system ;-)).
>
> Otherwise this patch looks good to me. Thanks!

Apart from the fact that I can't count. Apparently I got up to v3 of it
last time, so this one should have been v4. I just mostly forgot all
about it, and found it lying around in a git tree a year later, and it
still seemed relevant.

Attachment: smime.p7s
Description: S/MIME cryptographic signature