Re: [PATCH (resend)] Input: MT - limit max slots

From: Linus Torvalds
Date: Mon Jul 29 2024 - 14:16:32 EST


On Mon, 29 Jul 2024 at 10:59, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:
>
> Can I write a gigabyte of data to disk? Terabyte? Is petabyte too much?
> What if I don't have enough physical disk. Do we "fix" write() not to
> take size_t length?

Dmitry, that's *EXACTLY* what we did decades ago.

Your argument is bogus garbage. We do various arbitrary limits exactly
to head off problems early.

Linus