upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/tls_host.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:58:44 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:58:44 -0500
commita127c11a84a09588cd35cfcffa5fb2bf733c35bb (patch)
treed544a8a3cca56a96de03dcc9de9cf022c744c517 /runtime/src/tls_host.cpp
parent0ce9f8992cedaa1e9f7668c34b1a04b15eca4770 (diff)
GPU labels reach a title page the D3D12 layer keeps read-only while it watches it
A completed label was stored only into a page that was read-write at that moment and dropped otherwise. The base makes title pages read-only while a shadow or the geometry watch waits for the title's next write, so a label for such a page was lost, and a title that waits for a completion label then waits for ever. The store now announces the write the way a kernel write is announced (kernel_writes::begin_write): the layer opens the pages it guards and copies them again at its next refresh. A page that is still read-only after that is the title's own doing and the label is dropped as before; so are guard, no-access and decommitted pages and a released allocation. The store moves out of the class as label::store_value so that it can be tested. gpu_label_store_test (CPU only, registered as gpu_label_store) covers each of those cases with a stand-in for the layer's opener. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions