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

From: Linus Torvalds
Date: Wed May 24 2023 - 18:03:31 EST


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.

Linus