summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 08:40:19 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 08:40:19 -0400
commit64bcfd6fd72546a2758d664bea39354604babcda (patch)
tree0c529f9a03964da6d77887e19ac3a56d8ec45a18 /install.sh
parentb37cd12a552c7a79a9b965c391fb2f64a8da4912 (diff)
downloadopen-iov-64bcfd6fd72546a2758d664bea39354604babcda.tar.gz
open-iov-64bcfd6fd72546a2758d664bea39354604babcda.zip
sema: fix host stack-overflow hang; robust VA resolution; dispatcher lock fix
- svc_handle_chan_dump()/svc_decode_stream(): static snapshot buffers. The 128-channel local array made an ~18 KB frame, which overflows the 16 KB kernel stack in the function prologue and panicked the host 2-3 s after a VM attached the vGPU (proven from EFI pstore: guard page hit at svc_handle_chan_dump+0x20, sub rsp,0x4850). - svc_pump_channels(): write-back now also persists expected_sem_payload, rescue_last and rescue_fail. The pump works on a snapshot copy, so without this the stale-entry skip and the rescue rate limit could never fire and the payload expectation was reinitialized every pass. - svc_targeted_resolve(): sliced scan (128 MB per call, one VA at a time, failed-VA cache) instead of a full-RAM scan per miss; no longer appends to the sorted map out of order. - svc_rebuild(): merges new scan results into the previous map (fresh translation wins in place, new VAs appended) instead of replacing it wholesale, so live translations survive a scan-yield collapse. - Warning fixes: misleading indentation, unused variable, jiffies typecheck. Frame audit: largest frame now 872 B. - Includes the previous session's uncommitted work: sema_counter / shadow_scan / shadow_dump debug params, exit stage markers, pdev ref fix, and the dynamic dispatcher request_firmware-out-of-spinlock fix.
Diffstat (limited to 'install.sh')
0 files changed, 0 insertions, 0 deletions