Re: [PATCH] mm/zsmalloc: fix release order of locks in zs_page_migrate()

From: Sergey Senozhatsky

Date: Wed Jul 29 2026 - 00:56:34 EST


On (26/07/29 12:46), Richard Chang wrote:
> On Wed, Jul 29, 2026 at 2:15 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Thanks.
> >
> > Does this actually fix a lockdep splat? If so, is a link available?
> >
>
> No, this does not fix an active lockdep splat or a reported runtime deadlock.
> It is just a code hygiene to release locks in LIFO order.

Right, surprisingly enough lockdep was never unhappy with the original
code (I run tests with CONFIG_PROVE_LOCKING=y.)