Repository navigation
kernelx: delegate current-process VirtualAllocEx/FreeEx/ProtectEx - #1564
hajduzsolt wants to merge 1 commit into
Conversation
VirtualAllocEx unconditionally forwarded to host mem::VirtualAllocEx, stripping console allocation flags and bypassing placeholders::alloc, UMA, sparse VRAM, coherent heaps, and GRAPHICS_RESERVATIONS. VirtualFreeEx only delegated sparse/UMA/graphics-release calls to VirtualFree, bypassing placeholders::free. Delegate VirtualAllocEx, VirtualFreeEx, and VirtualProtectEx directly to VirtualAlloc, VirtualFree, and VirtualProtect when targeting GetCurrentProcess(). Part of xcl-dev#1489 Assisted-by: Antigravity (Gemini 4 Hydrogen, high)
468c376 to
48e36e8
Compare
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Independent desktop NVIDIA verification of PR #1564 at head Environment
Targeted tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib virtual_alloc_ex_and_protect_ex_current_process_delegation -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 831 filtered out × 3 (0.02s, 0.02s, 0.02s, 0 skipped) |
cargo test --release -p xcl --lib hle::kernelx:: -- --nocapture (3 consecutive runs) |
32 passed; 0 failed; 1 ignored; 799 filtered out × 3 (0.21s, 0.22s, 0.23s, 0 runtime skips; 1 pre-existing #[ignore] timing test scatter_timing) |
cargo build --release -p xcl |
Clean build (1m 22s, exit 0, 0 new warnings in kernelx.rs) |
Paired quiet 60 s retail smoke (title: 29640639)
(Note: scripts/smoke.ps1 at c160d86e predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)
Exact parent & merge-base (c160d86ef2efe3a07e4dfb473e4fa72eafb413c0):
xcl-smoke v1
commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1533 (PresentX 1533)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14721 MB
PR #1564 (48e36e8155f17f2ee935422b3bd9e2180581e575):
xcl-smoke v1
commit: 48e36e8155f17f2ee935422b3bd9e2180581e575
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1571 (PresentX 1571)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14715 MB
Limits of coverage
virtual_alloc_ex_and_protect_ex_current_process_delegationand the fullhle::kernelx::suite (32/32active tests,0runtime skips) passed3/3on Windows 11, directly covering current-processVirtualAllocEx/VirtualFreeEx/VirtualProtectExdelegation.- The 60 s retail smoke confirms steady 60 Hz runtime non-regression (
0device removals,0crashes); single-run frame/commit delta vs. parent reflects normal startup variance.
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
|
NVIDIA and AMD full-suite run, to go with the reports above by Decodere, since none of them covers AMD. Tested exact head Tested
Not tested
AI use
|
|
Tested on AMD / Linux: The head as it is (not merged onto current Tests (
Not tested
AI use
|
|
Most of this is on main already: commit a078094 makes AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Delegates VirtualAllocEx, VirtualFreeEx, and VirtualProtectEx to XCL's VirtualAlloc, VirtualFree, and VirtualProtect when targeting GetCurrentProcess(), fixing console/placeholder/graphics flag stripping and missing placeholder cleanup. Part of #1489.
What is in it
Tested
Regression run
main:
PR:
Not tested
AI use