Re: [PATCH 1/2] fs/kernel_read_file: add support for duplicate detection

From: Luis Chamberlain
Date: Wed May 24 2023 - 18:08:11 EST


On Wed, May 24, 2023 at 02:56:47PM -0700, Linus Torvalds wrote:
> On Wed, May 24, 2023 at 2:52 PM Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Stop adding horrific code for some made-up load that isn't real.
>
> Even if you trigger some "worst case 3x memory use", that is
> _temporary_, and will be free'd in the end.
>
> The patches to "fix" this are worse than the disease.

Fine with me, we can punt back and wait and hope udev fixes this.
No one can tell me I didn't try. Now let's hope userspace will try
an alternative.

Luis