memory: prefault large direct-memory mappings on Linux (fixes Hades II load crash) #1104

Closed
github-bot wants to merge 1 commit from gh-pr/1104/head into gh-pr/1104/base
Owner

@⁠Xfedis on GitHub · 2026-10-06 08:50 UTC · original
Xfedis:linux-prefault-direct-memory → main · +28 −0 · 1 files · 1 commits · closed without merging

Problem

On Linux, Hades II (PPSA36082, 01.006.000) crashes about 2.5 s after launch while it loads Content/Packages/1080p/Fx.pkg:

thread: LoadTaskScheduler
Unhandled host exception: type=1 code=11 pc=0x0000000910003fb0 access=2 address=0x0000000000000000

The faulting instruction is a libc memcpy with a NULL destination. The game requests a 16 MiB staging buffer from its own VMA-style allocator. That allocator sub-allocates from a 512 MiB direct-memory pool (0x240200000). The pool is full, so the game gets NULL back and copies the texture into it anyway.

Why the pool fills up

I traced allocations and frees in the game's allocator with gdb:

  • The game's resource loader (it appears to be The Forge's) gives every large texture a temporary 16 MiB upload buffer. The streamer thread frees that buffer once it has tiled the texture into the 6 GiB direct-memory pool and the copy set has retired.
  • The streamer gets slower and slower relative to the loader. The time from allocation to free grows from about 17 ms to about 137 ms, until 12 or more 16 MiB buffers are outstanding at once. On top of roughly 300 MiB of long-lived allocations, that exhausts the 512 MiB pool.
  • Sampling the streamer thread puts almost all of its time on the first scatter store of its CPU tiling loop. The emulator's write tracking isn't the cause: fewer than 2,000 GPU write faults happen in the whole run. The cost is host demand paging. In the last 0.5 s before the crash the process takes about 190,000 minor faults (roughly 760 MiB of fresh 4 KiB pages), because every texture lands in never-touched memory of the 6 GiB pool. The direct-memory mappings are private anonymous memory, and transparent huge pages often fall back to 4 KiB pages on a fragmented host.
  • Throttling GPU submissions doesn't help. The GPU queue stays at three or fewer pending submissions and each takes under 0.5 ms. I tried that first and dropped it.

Fix

In KernelMapDirectMemory, writable direct mappings of 64 MiB or more get MADV_HUGEPAGE followed by MADV_POPULATE_WRITE. Console memory is physically backed anyway, so this matches the behavior the game expects. With the patch Hades II gets through loading and reaches the main menu at a steady 60 fps.

  • Linux only. Everything is under KYTY_PLATFORM_LINUX, so the Windows and macOS code paths don't change.
  • Cost: Hades II commits its roughly 7.7 GiB of direct memory at map time, which takes about 1.7 s on the test machine.
  • Opt-out: KYTY_NO_PREFAULT keeps demand faulting.
  • If populating fails (low memory, or no MADV_POPULATE_WRITE on kernels older than 5.14), the failure is logged and the mapping falls back to demand paging.

I used an environment variable because it was the smallest change. I'm happy to turn the opt-out into a proper config or launcher setting if you'd prefer that.

Testing

  • Arch Linux, kernel 7.2, clang 22.1.8, Release build: AMD Ryzen 5 3600X, NVIDIA RTX 2070 SUPER, 32 GB RAM.
  • Hades II PPSA36082 01.006.000: before the patch it crashes reliably at the same memcpy. After the patch it loads through to the main menu at 60 fps, fullscreen 2560×1440.
  • git clang-format reports no changes.
  • Not tested: actual gameplay past the main menu, the Windows and macOS builds (the change is compiled out there), and the CI test suite.

AI use disclosure

Claude Code (Claude Opus 5.5) did the investigation (gdb tracing of the guest allocator, thread sampling, fault counting) and wrote the change. The diff was built and tested locally on the hardware above.

🤖 Generated with Claude Code

**@⁠Xfedis** on GitHub · 2026-10-06 08:50 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1104) `Xfedis:linux-prefault-direct-memory` → `main` · +28 −0 · 1 files · 1 commits · closed without merging ## Problem On Linux, Hades II (PPSA36082, 01.006.000) crashes about 2.5 s after launch while it loads `Content/Packages/1080p/Fx.pkg`: ``` thread: LoadTaskScheduler Unhandled host exception: type=1 code=11 pc=0x0000000910003fb0 access=2 address=0x0000000000000000 ``` The faulting instruction is a libc `memcpy` with a NULL destination. The game requests a 16 MiB staging buffer from its own VMA-style allocator. That allocator sub-allocates from a 512 MiB direct-memory pool (`0x240200000`). The pool is full, so the game gets NULL back and copies the texture into it anyway. ### Why the pool fills up I traced allocations and frees in the game's allocator with gdb: - The game's resource loader (it appears to be The Forge's) gives every large texture a temporary 16 MiB upload buffer. The streamer thread frees that buffer once it has tiled the texture into the 6 GiB direct-memory pool and the copy set has retired. - The streamer gets slower and slower relative to the loader. The time from allocation to free grows from about 17 ms to about 137 ms, until 12 or more 16 MiB buffers are outstanding at once. On top of roughly 300 MiB of long-lived allocations, that exhausts the 512 MiB pool. - Sampling the streamer thread puts almost all of its time on the first scatter store of its CPU tiling loop. The emulator's write tracking isn't the cause: fewer than 2,000 GPU write faults happen in the whole run. The cost is host demand paging. In the last 0.5 s before the crash the process takes about 190,000 minor faults (roughly 760 MiB of fresh 4 KiB pages), because every texture lands in never-touched memory of the 6 GiB pool. The direct-memory mappings are private anonymous memory, and transparent huge pages often fall back to 4 KiB pages on a fragmented host. - Throttling GPU submissions doesn't help. The GPU queue stays at three or fewer pending submissions and each takes under 0.5 ms. I tried that first and dropped it. ## Fix In `KernelMapDirectMemory`, writable direct mappings of 64 MiB or more get `MADV_HUGEPAGE` followed by `MADV_POPULATE_WRITE`. Console memory is physically backed anyway, so this matches the behavior the game expects. With the patch Hades II gets through loading and reaches the main menu at a steady 60 fps. - **Linux only.** Everything is under `KYTY_PLATFORM_LINUX`, so the Windows and macOS code paths don't change. - **Cost:** Hades II commits its roughly 7.7 GiB of direct memory at map time, which takes about 1.7 s on the test machine. - **Opt-out:** `KYTY_NO_PREFAULT` keeps demand faulting. - If populating fails (low memory, or no `MADV_POPULATE_WRITE` on kernels older than 5.14), the failure is logged and the mapping falls back to demand paging. I used an environment variable because it was the smallest change. I'm happy to turn the opt-out into a proper config or launcher setting if you'd prefer that. ## Testing - Arch Linux, kernel 7.2, clang 22.1.8, Release build: AMD Ryzen 5 3600X, NVIDIA RTX 2070 SUPER, 32 GB RAM. - Hades II PPSA36082 01.006.000: before the patch it crashes reliably at the same `memcpy`. After the patch it loads through to the main menu at 60 fps, fullscreen 2560×1440. - `git clang-format` reports no changes. - Not tested: actual gameplay past the main menu, the Windows and macOS builds (the change is compiled out there), and the CI test suite. ## AI use disclosure Claude Code (Claude Opus 5.5) did the investigation (gdb tracing of the guest allocator, thread sampling, fault counting) and wrote the change. The diff was built and tested locally on the hardware above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Games that stream large textures through fixed-size upload pools stage
data faster than the host can demand-fault fresh 4 KiB pages. Hades II
(PPSA36082) stages 16 MiB textures through a 512 MiB pool while its
resource streamer tiles them into a 6 GiB direct-memory pool on the CPU.
Every texture touches thousands of never-written host pages, so the
streamer falls behind, the pool runs out, and the game memcpy's to the
NULL staging pointer that the failed allocation returned.

Console memory is already backed, so back writable direct mappings of
64 MiB or more with huge pages and populate them at map time. Set
KYTY_NO_PREFAULT to keep demand faulting.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:43:04 +00:00
github-bot closed this pull request 2026-11-26 09:43:04 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-06 09:04 UTC · original

Review in Change Stack →

📝 Walkthrough

Walkthrough

KernelMapDirectMemory now calls PrefaultDirectMapping after allocation-callback processing. On Linux, the helper skips mappings smaller than 64 MiB, mappings without PROT_CPU_WRITE, and mappings when KYTY_NO_PREFAULT is set. For other mappings, it requests huge pages and populates writable pages. It logs an error if population fails. On other platforms, the helper does nothing.

Suggested reviewers: nmzik

Priority: ⬆️ High

Change: Bug fix

Merge Risk: 🟡 Moderate · up to d376a

The change breaks the supported macOS build. Exclude macOS from the Linux-specific advice branch before merging.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the Linux direct-memory prefault change and its reported Hades II fix.
Description check ✅ Passed The description explains the reported crash, the proposed prefaulting fix, its trade-offs, and the testing performed.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-06 09:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1104#issuecomment-6012979280) <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/1104?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=2" alt="Review in Change Stack →" width="220" height="32"></a> <!-- review_stack_entry_end --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough `KernelMapDirectMemory` now calls `PrefaultDirectMapping` after allocation-callback processing. On Linux, the helper skips mappings smaller than 64 MiB, mappings without `PROT_CPU_WRITE`, and mappings when `KYTY_NO_PREFAULT` is set. For other mappings, it requests huge pages and populates writable pages. It logs an error if population fails. On other platforms, the helper does nothing. **Suggested reviewers:** `nmzik` </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ⬆️ High <!-- change_assessment_commit:"d376a6c21f218c2b883e105e7a478d2b4305232d" --> **Change:** Bug fix <!-- change_assessment_end --> <!-- final_review_risk_start --> **Merge Risk:** _🟡 Moderate_ · up to `d376a` <!-- final_review_risk_coverage:{"sourceCommitId":"d376a6c21f218c2b883e105e7a478d2b4305232d","coveredCommitId":"d376a6c21f218c2b883e105e7a478d2b4305232d","kind":"reviewed"} --> The change breaks the supported macOS build. Exclude macOS from the Linux-specific advice branch before merging. <!-- final_review_risk_end --> <!-- pre_merge_checks_walkthrough_start --> <details> <summary>🚥 Pre-merge checks | ✅ 4 | ❌ 1</summary> ### ❌ Failed checks (1 warning) | Check name | Status | Explanation | Resolution | | :----------------: | :--------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ⚠️ Warning | Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary>✅ Passed checks (4 passed)</summary> | Check name | Status | Explanation | | :------------------------: | :------- | :-------------------------------------------------------------------------------------------------------------------- | | Title check | ✅ Passed | The title clearly identifies the Linux direct-memory prefault change and its reported Hades II fix. | | Description check | ✅ Passed | The description explains the reported crash, the proposed prefaulting fix, its trade-offs, and the testing performed. | | Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | </details> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autopilot</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> --- Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=1104)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary>❤️ Share</summary> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
@ -98,0 +120,4 @@
(void)prot;
#endif
}
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-06 09:04 UTC · original

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

printf '%s\n' '--- PR diff ---'
git diff --no-ext-diff --unified=30 cdb64bfd4fb4d5312b2542a41a0070f25663166a d376a6c21f218c2b883e105e7a478d2b4305232d -- src/kernel/memory.cpp
printf '%s\n' '--- source includes/helper/caller ---'
nl -ba src/kernel/memory.cpp | sed -n '1,155p'
printf '%s\n' '--- platform macro definitions ---'
rg -n -F -- 'KYTY_PLATFORM_LINUX' CMakeLists.txt cmake src include 2>/dev/null || test "$?" -eq 1
printf '%s\n' '--- macro/platform references ---'
rg -n -F -- 'KYTY_PLATFORM_APPLE' CMakeLists.txt cmake src include 2>/dev/null || test "$?" -eq 1

Repository: KytyPS5/KytyPS5

Length of output: 15159


🏁 Script executed:

printf '%s\n' '--- CMake platform selection ---'
nl -ba CMakeLists.txt | sed -n '68,112p'
printf '%s\n' '--- platform constants ---'
nl -ba src/common/config.h | sed -n '1,45p'
printf '%s\n' '--- Apple-specific compilation guards in this file ---'
rg -n -C 3 '__APPLE__|MADV_HUGEPAGE|MADV_POPULATE_WRITE|madvise' src/kernel/memory.cpp
printf '%s\n' '--- macOS target/build documentation references ---'
rg -n -i -C 2 'macos|darwin|apple' README* docs CMakeLists.txt cmake .github 2>/dev/null || test "$?" -eq 1

Repository: KytyPS5/KytyPS5

Length of output: 20659


🌐 Web query:

Apple XNU macOS SDK sys/mman.h MADV_HUGEPAGE MADV_NORMAL MADV_FREE authoritative source

💡 Result:

The authoritative public XNU source is Apple’s [`bsd/sys/mman.h`](https://github.com/apple-oss-distributions/xnu/blob/main/bsd/sys/mman.h).

- **`MADV_NORMAL`** is defined as an alias for `POSIX_MADV_NORMAL` (value `0`).
- **`MADV_FREE`** is defined as `5`, with the comment “pages unneeded, discard contents.”
- **`MADV_HUGEPAGE`** does **not** appear among the header’s `madvise` constants. ([github.com](https://github.com/apple/darwin-xnu/blob/main/bsd/sys/mman.h))

So the XNU header supports `MADV_NORMAL` and `MADV_FREE`, but does not establish `MADV_HUGEPAGE` as a macOS `sys/mman.h` constant. This is the current XNU source, not a guarantee about every historical or future macOS SDK.

Citations:

- 1: https://github.com/apple/darwin-xnu/blob/main/bsd/sys/mman.h

🏁 Script executed:

printf '%s\n' '--- all repository references/declarations ---'
rg -n -F -- 'MADV_HUGEPAGE' . -g '!third_party/**' -g '!**/build/**' -g '!**/_Build/**' || test "$?" -eq 1
printf '%s\n' '--- macOS CI build ---'
nl -ba .github/workflows/build.yml | sed -n '138,214p'
printf '%s\n' '--- macOS support statement ---'
nl -ba README.md | sed -n '12,38p'
nl -ba README.md | sed -n '244,268p'

Repository: KytyPS5/KytyPS5

Length of output: 6380


🏁 Script executed:

rg -n -F -- 'MADV_HUGEPAGE' .

Repository: KytyPS5/KytyPS5

Length of output: 218


Exclude macOS from the Linux-only advice branch.

On macOS, CMake sets KYTY_PLATFORM_LINUX, so this branch compiles. Apple’s public sys/mman.h does not declare MADV_HUGEPAGE, and this code has no fallback for it. The undeclared identifier breaks the macOS build.

Suggested fix
-#if KYTY_PLATFORM == KYTY_PLATFORM_LINUX
+#if KYTY_PLATFORM == KYTY_PLATFORM_LINUX && !defined(__APPLE__)
**@⁠coderabbitai[bot]** on GitHub · 2026-10-06 09:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1104#discussion_r4193446667) **🎯 Functional Correctness** | **🟠 Major** | **⚡ Quick win** <details> <summary>🔎 Supported by static analysis</summary> 🏁 Script executed: ```bash printf '%s\n' '--- PR diff ---' git diff --no-ext-diff --unified=30 cdb64bfd4fb4d5312b2542a41a0070f25663166a d376a6c21f218c2b883e105e7a478d2b4305232d -- src/kernel/memory.cpp printf '%s\n' '--- source includes/helper/caller ---' nl -ba src/kernel/memory.cpp | sed -n '1,155p' printf '%s\n' '--- platform macro definitions ---' rg -n -F -- 'KYTY_PLATFORM_LINUX' CMakeLists.txt cmake src include 2>/dev/null || test "$?" -eq 1 printf '%s\n' '--- macro/platform references ---' rg -n -F -- 'KYTY_PLATFORM_APPLE' CMakeLists.txt cmake src include 2>/dev/null || test "$?" -eq 1 ``` Repository: KytyPS5/KytyPS5 Length of output: 15159 --- 🏁 Script executed: ```bash printf '%s\n' '--- CMake platform selection ---' nl -ba CMakeLists.txt | sed -n '68,112p' printf '%s\n' '--- platform constants ---' nl -ba src/common/config.h | sed -n '1,45p' printf '%s\n' '--- Apple-specific compilation guards in this file ---' rg -n -C 3 '__APPLE__|MADV_HUGEPAGE|MADV_POPULATE_WRITE|madvise' src/kernel/memory.cpp printf '%s\n' '--- macOS target/build documentation references ---' rg -n -i -C 2 'macos|darwin|apple' README* docs CMakeLists.txt cmake .github 2>/dev/null || test "$?" -eq 1 ``` Repository: KytyPS5/KytyPS5 Length of output: 20659 --- 🌐 Web query: `Apple XNU macOS SDK sys/mman.h MADV_HUGEPAGE MADV_NORMAL MADV_FREE authoritative source` 💡 Result: ``` The authoritative public XNU source is Apple’s [`bsd/sys/mman.h`](https://github.com/apple-oss-distributions/xnu/blob/main/bsd/sys/mman.h). - **`MADV_NORMAL`** is defined as an alias for `POSIX_MADV_NORMAL` (value `0`). - **`MADV_FREE`** is defined as `5`, with the comment “pages unneeded, discard contents.” - **`MADV_HUGEPAGE`** does **not** appear among the header’s `madvise` constants. ([github.com](https://github.com/apple/darwin-xnu/blob/main/bsd/sys/mman.h)) So the XNU header supports `MADV_NORMAL` and `MADV_FREE`, but does not establish `MADV_HUGEPAGE` as a macOS `sys/mman.h` constant. This is the current XNU source, not a guarantee about every historical or future macOS SDK. Citations: - 1: https://github.com/apple/darwin-xnu/blob/main/bsd/sys/mman.h ``` --- 🏁 Script executed: ```bash printf '%s\n' '--- all repository references/declarations ---' rg -n -F -- 'MADV_HUGEPAGE' . -g '!third_party/**' -g '!**/build/**' -g '!**/_Build/**' || test "$?" -eq 1 printf '%s\n' '--- macOS CI build ---' nl -ba .github/workflows/build.yml | sed -n '138,214p' printf '%s\n' '--- macOS support statement ---' nl -ba README.md | sed -n '12,38p' nl -ba README.md | sed -n '244,268p' ``` Repository: KytyPS5/KytyPS5 Length of output: 6380 --- 🏁 Script executed: ```bash rg -n -F -- 'MADV_HUGEPAGE' . ``` Repository: KytyPS5/KytyPS5 Length of output: 218 --- </details> **Exclude macOS from the Linux-only advice branch.** On macOS, CMake sets `KYTY_PLATFORM_LINUX`, so this branch compiles. Apple’s public `sys/mman.h` does not declare `MADV_HUGEPAGE`, and this code has no fallback for it. The undeclared identifier breaks the macOS build. <details><summary>Suggested fix</summary> ```diff -#if KYTY_PLATFORM == KYTY_PLATFORM_LINUX +#if KYTY_PLATFORM == KYTY_PLATFORM_LINUX && !defined(__APPLE__) ``` </details> <!-- fingerprinting:phantom:medusa:serval --> <!-- cr-indicator-types:potential_issue --> <!-- cr-comment:v1:cd99af638e336b3e7f3a300d --> <!-- This is an auto-generated comment by CodeRabbit -->
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-06 09:04 UTC · original · reviewed

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 217abc39-60c9-49b5-adcf-a19628f0b326
📥 Commits

Reviewing files that changed from the base of the PR and between cdb64bfd4f and d376a6c21f.

📒 Files selected for processing (1)
  • src/kernel/memory.cpp

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-06 09:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1104#pullrequestreview-5426127686) · **reviewed** **Actionable comments posted: 1** --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `217abc39-60c9-49b5-adcf-a19628f0b326` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between cdb64bfd4fb4d5312b2542a41a0070f25663166a and d376a6c21f218c2b883e105e7a478d2b4305232d. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `src/kernel/memory.cpp` </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. </details> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=3fd7d3f6-9bf4-4368-a5a0-1e8320c0b5a2 attempt=1ec909c5-39cc-4f88-8db0-a036f2d0312f batch=1/1 -->

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.