On Sun, Oct 20, 2024 at 12:09:58PM -0700, Linus Torvalds wrote:
> On Sun, 20 Oct 2024 at 12:09, Linus Torvalds
> <[email protected]> wrote:
> >
> > How about you limit the amount of memory you use in the first place instead?
> 
> .. and to clarify: we're not making other parts of the kernel less
> robust because *you* are doing something stupid and odd.

Except, vmalloc() already behaves this way - so it seems to me you
already have.

I've already added a stupid workaround to the darray code to switch to
calling vmalloc() directly, when necessary; this patch was a courtesy
because if bcachefs is hitting this limit no doubt other things will be
soon as well.

Reply via email to