summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/scan.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-24 10:48:08 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-24 10:48:08 -0400
commit93431bdd896d9e6d9a25bebef0fb1af308dd64cd (patch)
tree2c6b44e8b3fca4edd24a6a904e370a5c3e899d22 /tools/guest-diag/scan.c
parent775c61c34fdccb32179d0cb6239db62b0b42e867 (diff)
downloadopen-iov-93431bdd896d9e6d9a25bebef0fb1af308dd64cd.tar.gz
open-iov-93431bdd896d9e6d9a25bebef0fb1af308dd64cd.zip
kernel: enlarge the pin table and its probe window; tools: bridge client mappings into the service
The pin table became the primary VA->PA store once push-buffer regions and bridged client mappings started adding thousands of pages per boot; at 8192 slots with an 8-probe window, inserts were silently dropped and lookups missed at half load. 32768 slots and a 32-probe window keep the mapped set intact. tools/guest-diag/{guest_pmap_all.py,bridge_sems.sh} translate the CUDA client's /dev/nvidia* mappings through the guest's own pagemap and inject each present page into the service as a sysmem pin. With the client's semaphore pages pinned the service applies their releases into the page the client polls (verified: applied 67 -> 109, misses stop growing for those VAs), where before every write went to the vidmem shadow.
Diffstat (limited to 'tools/guest-diag/scan.c')
0 files changed, 0 insertions, 0 deletions