[RFC PATCH 4/4] KEYS: key_garbage_collector(): process in chunks
Jarkko Sakkinen
jarkko at kernel.org
Mon Nov 2 13:34:38 UTC 2026
On Mon, Nov 02, 2026 at 12:32:57PM +0000, sashiko-bot at kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] keys: non-atomic flag clearing in key_garbage_collector() drops link reaping
> --
>
> commit 9857f1d86bdced127ae471468f5b25b61aa04d0f
> Author: Jarkko Sakkinen <jarkko at kernel.org>
>
> KEYS: key_garbage_collector(): process in chunks
>
> This commit updates key_garbage_collector() to scan the serial tree and
> destroy unused keys in chunks of 64 items, tracking in-flight state across
> workqueue continuations to prevent workqueue lockups.
>
> Link: https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd-test.git/tree/package/keygcbench
I'm addressing all the Sashiko issues also for this.
Br, Jarkko
More information about the Linux-security-module-archive
mailing list