Re: Failure during Stack Depot allocating hash table of 1048576 entries with kvcalloc

From: Alexander Potapenko
Date: Fri Jan 13 2023 - 10:06:57 EST


On Fri, Jan 13, 2023 at 3:30 PM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> Hi,
>
> Lemme CC the stackdepot.c commit signers re the below splat.
>
> Lemme know if you need more info.

The kernel commit and config would help.
Is this somehow related to SLUB_TINY? Perhaps stack depot is just
trying to allocate way more memory than allowed?
(I see that Memory: below shows a lot of free pages, but am not sure
how it works with SLUB_TINY).

> Thx.
>
> ...
> [ 0.000000] software IO TLB: area num 4.
> [ 0.000000] Memory: 15612528K/16165300K available (12288K kernel code, 116072K rwdata, 5024K rodata, 2412K init, 3822