diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 05:36:58 -0500 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 08:39:35 -0500 |
| commit | 9c83502ed8bbb29ef9a7e4f5d8a96f3df77ca820 (patch) | |
| tree | 6af1a921d5c2b5e0ad9c3959b8c9c2f97ba1cc45 /src/common/cpu_features.cpp | |
| parent | adae7635708e155d967e84d7ad84bf63c5203409 (diff) | |
fiber: leave guest thread stacks uninitialized, drop the unused rewind stack
Each fiber zero-filled two 2 MiB std::arrays, the stack and a rewind
stack nothing ever switched to, so every guest thread held 4 MiB of RAM
however little stack it used: ~750 MiB for title 1's ~190 threads. The
stack is now allocated without being touched, so the host backs only the
pages a thread uses.
(cherry picked from commit f5e7d0f2eed854a0f821f8a04253f04cf77db575)
Diffstat (limited to 'src/common/cpu_features.cpp')
0 files changed, 0 insertions, 0 deletions
