Re: [patch V9 10/39] x86/entry: Provide helpers for execute on irqstack

From: Thomas Gleixner
Date: Tue Jun 09 2020 - 16:34:26 EST


Qian,

Qian Cai <cai@xxxxxx> writes:
> On Tue, Jun 09, 2020 at 12:20:06AM +0200, Thomas Gleixner wrote:
>> Note, that I doubled the size of the stack depot so that we get real
>> numbers and not the cutoff by the size limit. IOW, the warning should
>> not trigger anymore. If it triggers nevertheless then the numbers will
>> still tell us an interesting story.
>
> Instead of running the whole testsuite, I just picked this single LTP
> oom02 test which seems usually trigger it within the testsuite. Let me
> know if this is insufficient (which indeed tell the big difference in
> "Unique stacks"), and I am happy to run the whole things.

thanks for providing the data.

> BAD: next-20200608
> GOOD: next-20200528 (which does not include this series)
>
> BAD (after boot)
> # cat /sys/kernel/debug/stackdepot/info
> Unique stacks: 33547
> Depot index: 359
> Depot offset: 6752
>
> BAD (after oom02)
> # cat /sys/kernel/debug/stackdepot/info
> Unique stacks: 140476

That's indeed odd. I try to reproduce and figure out what really breaks
here.

Thanks,

tglx