On Wed, 07 Jan 2026 13:22:57 +0100, Petr Pavlu wrote:
> In the error path of load_module(), under the free_module label, the
> code calls lockdep_free_key_range() to release lock classes associated
> with the MOD_DATA, MOD_RODATA and MOD_RO_AFTER_INIT module regions, and
> subsequently invokes module_deallocate().
> 
> Since commit ac3b43283923 ("module: replace module_layout with
> module_memory"), the module_deallocate() function calls free_mod_mem(),
> which releases the lock classes as well and considers all module
> regions.
> 
> [...]

Applied to modules-next, thanks!

[1/1] module: Remove duplicate freeing of lockdep classes
      commit: a7b4bc094fbaa7dc7b7b91ae33549bbd7eefaac1

Best regards,

        Sami



Reply via email to