Re: [PATCH 08/12] x86/dumpstack: Pin the target stack in save_stack_trace_tsk()

From: Ingo Molnar
Date: Thu Sep 15 2016 - 05:27:44 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> It absolutely is - compared to the vmalloc costs. Andy has quite noticeable
> slowdowns without the stack reuse - and the stack reuse requires the delayed
> freeing. With the stack reuse, fork/exit actually sped up.

Ok, great, that's convincing!

I'm still applying it two-phase and I'll wait for v2 of the second half of the
series, to have the fix Josh alluded to.

Thanks,

Ingo