Re: [PATCH v2] lockdep: Fix subclass resource leak in lockdep_unregister_key()

From: Nilay Shroff

Date: Sun Sep 13 2026 - 09:58:19 EST


Hi,

A gentle ping on this one...It's been pending since quite some time now.
Does this look okay?

Thanks,
--Nilay

On 7/28/26 1:21 AM, Bart Van Assche wrote:
On 7/27/26 11:23 AM, Nilay Shroff wrote:
Fix this by instructing lockdep_unregister_key() to look ahead across
the entire valid subclass allocation block range
(MAX_LOCKDEP_SUBCLASSES), ensuring that all related subclass matrix
definitions are completely zapped alongside the primary key.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>