Re: [RFC PATCH v2 00/11] KEYS: Sanitize the garbage collector

From: Jarkko Sakkinen

Date: Tue Nov 03 2026 - 08:20:27 EST


On Tue, Nov 03, 2026 at 10:03:07AM +0000, David Howells wrote:
> Jarkko Sakkinen <jarkko@xxxxxxxxxx> wrote:
>
> > The first change has user space visible effect: rmmod semantics will change
> > from always succeeding into returning -EBUSY when keys or restrictions have
> > the LKM pinned.
>
> Please don't do that. That will cause the AF_RXRPC module to get pinned in
> place by outstanding connections that haven't timed out yet.

Despite the changes I think it hits wall also with DNS resolver.

This spinned up from [1]. I'll figure out some other angle or have
some ideas but please tell if you have suggestion.

The chunk based processing is available as an independent patch [2]
without prepending changes and is pretty much done, or waiting for
feedback.

>
> David
>

[1 https://lore.kernel.org/keyrings/20261101221519.GB2689@quark/
[2 https://lore.kernel.org/keyrings/20261030205412.3138975-1-jarkko@xxxxxxxxxx/

Br, Jarkko