Re: [PATCH] padata: fix lockdep warning in padata_find_next()

From: Tristan Madani

Date: Mon Nov 02 2026 - 16:10:02 EST


On Mon, 02 Nov 2026, sashiko-bot@xxxxxxxxxx wrote:
> [Medium] padata: redundant spin_lock_nested() in padata_find_next() splits lock class

You are right. Commit af3852cda347 ("padata: remove __padata_list_init()")
already resolved this by giving squeue->serial.lock and reorder->lock
separate lock_class_key via separate spin_lock_init() call sites.

The spin_lock_nested() annotation is redundant and would incorrectly split
the subclass.

Please drop this patch.

Thanks,
Tristan