> > As a side note, kmsan_internal_chain_origin() > > (https://elixir.bootlin.com/linux/latest/source/mm/kmsan/core.c#L214) > > creates small 3-frame records in the stack depot to link two stacks > > together, which will add unnecessary stackdepot pressure. > > But this can be fixed by storing both the new stack trace and the link > > to the old stack trace in the same record. > > Do you mean this can be fixed in KMSAN? Or do you mean some kind of an > extension to the stack depot interface? Yes, I'll just fix this on the KMSAN side.