Re: [RFC PATCH v2] KEYS: Add a list for unreferenced keys
From: Jarkko Sakkinen
Date: Mon Mar 31 2025 - 13:48:40 EST
On Sun, Mar 30, 2025 at 02:16:49PM +0300, Jarkko Sakkinen wrote:
> Add an isolated list for unreferenced keys. This splits key deletion as
> separate phase, after the key reaper. This makes the whole process more
> rigid, as these two distinct tasks don't intervene each other.
>
> Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
> ---
> v2:
> - Rename key_gc_unused_keys as key_gc_graveyard, and re-document the
> function.
> ---
> include/linux/key.h | 1 -
> security/keys/gc.c | 27 +++++++--------------------
> security/keys/internal.h | 1 +
> security/keys/key.c | 7 +++++--
> 4 files changed, 13 insertions(+), 23 deletions(-)
kernel-test-bot reported:
https://lore.kernel.org/oe-lkp/202503312252.bef52733-lkp@xxxxxxxxx/
I.e., v3 is coming.
BR, Jarkko