diff options
| author | kawaii-shakal <kawaii-shakal@users.noreply.github.com> | 2026-12-02 09:56:12 +0000 |
|---|---|---|
| committer | kawaii-shakal <kawaii-shakal@users.noreply.github.com> | 2026-12-02 09:56:12 +0000 |
| commit | 7465df77b7648bcd3f7d76dad109b7254874d753 (patch) | |
| tree | 80485ae041e14ccd9168a6ddde659b53ab5e9f08 /runtime/test/cpp_unwind_test.cpp | |
| parent | 8422def759cda12c89f918438eeb8d53dd5972a6 (diff) | |
play-linux.sh: say when Wine watches the title's memory with signals (LINUX-WINE-WRITE-WATCH-CHECK)
Wine 9.0 and 10.0, or any Wine on Linux before 6.7, track write-watched pages by making
them read-only and taking a SIGSEGV at the first write after each reset; Wine 11.0 and
Proton's Wine use userfaultfd's asynchronous write protection and PAGEMAP_SCAN instead.
Measured on a cloud VM: 2.3-3.8 us against 0.7-0.85 us per first write. The launcher now
says so in one line (LEONIDA_WINE_CHECK=0 leaves it out); docs/linux.md, "Which Wine", has
the numbers, and scripts/write_watch_bench.c measures them under any Wine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JPqXc6svM4pbBagTsVEYA3
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions