aboutsummaryrefslogtreecommitdiff
path: root/src/common/cpu_features.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 05:36:58 -0500
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 08:39:35 -0500
commit9c83502ed8bbb29ef9a7e4f5d8a96f3df77ca820 (patch)
tree6af1a921d5c2b5e0ad9c3959b8c9c2f97ba1cc45 /src/common/cpu_features.cpp
parentadae7635708e155d967e84d7ad84bf63c5203409 (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