|
From: | Paolo Bonzini |
Subject: | Re: [PATCH experiment 00/35] stackless coroutine backend |
Date: | Thu, 10 Mar 2022 21:14:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 3/10/22 18:42, Stefan Hajnoczi wrote:
There are a lot of details to decide on in the translator tool and runtime to optimize the code. I think the way the stack frames are organized in this patch series is probably for convenience rather than performance.
Yes, sometimes the optimizations are there but mostly because they made my job easier.
Out of curiousity, did you run the perf tests and compare against ucontext?
Not quite voluntarily, but I noticed I had to add one 0 to make them run for a decent amount of time. So yeah, it's much faster than siglongjmp.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |