feat(libkernel): count committed ranges in sceKernelGetPageTableStats #4725

Merged
akkadbakkad89 merged 1 commit from upstream-pr/4725 into main 2026-10-14 10:56:25 +00:00
akkadbakkad89 commented 2026-10-12 19:48:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-12T19:48:31Z.


What

Builds on the sceKernelGetPageTableStats implementation merged in #4101 (issue #4067) by adding the usage counting it explicitly deferred: GuestPageTableUsage iterates the recorded protection ranges, charges one page-table entry per 2 MiB granule a range spans to the gpu pool when the range has GPU-access protection bits (0x30) and to the cpu pool otherwise, and follows changes through map/protect/unmap — so available reflects committed usage instead of staying at 2048. Totals, EFAULT-on-null and the KytyPS5 model (4 GiB pool / 2 MiB granules / 2048 entries) are unchanged from #4101.

Unverified constants remain recorded in docs/dev/debt/libkernel.md per conventions.

Tested

WSL Ubuntu 24.04, llvmpipe, on current main including #4101. guest_page_table_stats covers: EFAULT for each null argument, cpu accounting of a flexible mapping and its restore on unmap, cpu/gpu reclassification through sceKernelMprotect, and gpu accounting of a direct mapping. guest_memory (which now contains #4101's CheckPageTableStats), guest_memory_pool_stats, guest_addresses, guest_mlock, guest_msync all pass; check_conventions.py --base upstream/main clean. No console run — budget constants unverified on hardware.

Checklist

  • Based on current main; layered on the implementation merged in #4101
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #4101 (merged)
  • Unblocks: PPSA30601 #4067
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4834254153 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-12T19:48:31Z. --- ### What Builds on the `sceKernelGetPageTableStats` implementation merged in #4101 (issue #4067) by adding the usage counting it explicitly deferred: `GuestPageTableUsage` iterates the recorded protection ranges, charges one page-table entry per 2 MiB granule a range spans to the gpu pool when the range has GPU-access protection bits (0x30) and to the cpu pool otherwise, and follows changes through map/protect/unmap — so `available` reflects committed usage instead of staying at 2048. Totals, EFAULT-on-null and the KytyPS5 model (4 GiB pool / 2 MiB granules / 2048 entries) are unchanged from #4101. Unverified constants remain recorded in `docs/dev/debt/libkernel.md` per conventions. ### Tested WSL Ubuntu 24.04, llvmpipe, on current `main` including #4101. `guest_page_table_stats` covers: EFAULT for each null argument, cpu accounting of a flexible mapping and its restore on unmap, cpu/gpu reclassification through `sceKernelMprotect`, and gpu accounting of a direct mapping. `guest_memory` (which now contains #4101's `CheckPageTableStats`), `guest_memory_pool_stats`, `guest_addresses`, `guest_mlock`, `guest_msync` all pass; `check_conventions.py --base upstream/main` clean. No console run — budget constants unverified on hardware. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; layered on the implementation merged in #4101 - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #4101 (merged) - [x] Unblocks: PPSA30601 #4067 - [x] AI-assisted: yes
akkadbakkad89 commented 2026-10-12 19:51:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-12T19:51:38Z.


Overlap note: #4101 implements the same function and predates this PR — my open-PR search missed it when I picked up #4067, apologies.

The difference between the two: #4101 reports the 2048/2048 totals statically ("KytyPS5 additionally counts the 2 MiB entries of the committed ranges as used; this PR does not"). This PR does that counting — GuestPageTableUsage iterates the recorded protection ranges, charges each 2 MiB granule a range spans to the gpu pool when it has GPU-access protection bits and to the cpu pool otherwise, and follows protection changes through mprotect, so available reflects actual committed usage rather than staying at 2048.

Same signature, constants, sources and EFAULT behavior otherwise. Happy to defer to whichever approach maintainers prefer.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6131518207 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6131518207). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-12T19:51:38Z. --- Overlap note: #4101 implements the same function and predates this PR — my open-PR search missed it when I picked up #4067, apologies. The difference between the two: #4101 reports the 2048/2048 totals statically ("KytyPS5 additionally counts the 2 MiB entries of the committed ranges as used; this PR does not"). This PR does that counting — `GuestPageTableUsage` iterates the recorded protection ranges, charges each 2 MiB granule a range spans to the gpu pool when it has GPU-access protection bits and to the cpu pool otherwise, and follows protection changes through `mprotect`, so `available` reflects actual committed usage rather than staying at 2048. Same signature, constants, sources and EFAULT behavior otherwise. Happy to defer to whichever approach maintainers prefer.
MarcZX10 commented 2026-10-12 19:57:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T19:57:55Z.


The live-range accounting is a useful distinction from #4101’s fixed available count, and the added mapping/protection tests exercise that behavior. I checked the exact PR branch against current main: it is nine commits ahead and includes two merge commits carrying unrelated discussion-template and shader/AGC changes (the page-table implementation itself is a focused commit). Please rebase/cherry-pick the page-table work onto current main before merge, then coordinate with #4101 on which implementation should proceed; the two PRs modify the same export, and the dynamic accounting here is the more complete behavior if its assumptions/tests are validated. No pressure on merge order—maintainers can choose the path.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6131613294 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6131613294). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-12T19:57:55Z. --- The live-range accounting is a useful distinction from #4101’s fixed available count, and the added mapping/protection tests exercise that behavior. I checked the exact PR branch against current main: it is nine commits ahead and includes two merge commits carrying unrelated discussion-template and shader/AGC changes (the page-table implementation itself is a focused commit). Please rebase/cherry-pick the page-table work onto current main before merge, then coordinate with #4101 on which implementation should proceed; the two PRs modify the same export, and the dynamic accounting here is the more complete behavior if its assumptions/tests are validated. No pressure on merge order—maintainers can choose the path.
adriadam10 commented 2026-10-12 21:15:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T21:15:20Z.

Review: CHANGES_REQUESTED


#4101 is merged now, so this conflicts with main in DirectMemory/Export.cpp and docs/dev/debt/libkernel.md. Please rebase onto current main (and drop the two unrelated merge commits MarcZX100 mentioned) so the diff is just the accounting change on top of the merged function.

Points to fix, since the PR says it follows KytyPS5's CountPageTableEntries:

  • DirectMemory.cpp:1124: Kyty charges a range to the CPU pool when it has any CPU access bit and to the GPU pool when it has GPU access bits, so a range with both counts in both. Here a range with 0x30 is charged to GPU only.
  • DirectMemory.cpp:1121: Kyty only counts committed range types; g_protections records every guest mapping, including ones that are not committed memory. Say which ranges are meant to count and filter accordingly.
  • DirectMemory.cpp:1123: entries are summed per range, so contiguous ranges smaller than 2 MiB that share a granule (any partial mprotect splits a range) each charge it again. Count each granule once per pool, or state that the double count matches Kyty and pin it in the test.
  • Export.cpp:399: with unverified constants, available can now drop to 0 where main reports 2048. Please show the numbers a typical start-up produces (e.g. the values printed at the call in PPSA30601) so we know the dynamic count doesn't starve a title that the static answer lets through.
  • Test: add a case with two sub-2 MiB neighbours in one granule and one for a CPU+GPU protection, with expected values taken from Kyty's rules, not from this implementation's output.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5496010473 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#pullrequestreview-5496010473). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-12T21:15:20Z. **Review:** CHANGES_REQUESTED --- #4101 is merged now, so this conflicts with `main` in `DirectMemory/Export.cpp` and `docs/dev/debt/libkernel.md`. Please rebase onto current `main` (and drop the two unrelated merge commits MarcZX100 mentioned) so the diff is just the accounting change on top of the merged function. Points to fix, since the PR says it follows KytyPS5's `CountPageTableEntries`: - `DirectMemory.cpp:1124`: Kyty charges a range to the CPU pool when it has any CPU access bit and to the GPU pool when it has GPU access bits, so a range with both counts in both. Here a range with `0x30` is charged to GPU only. - `DirectMemory.cpp:1121`: Kyty only counts committed range types; `g_protections` records every guest mapping, including ones that are not committed memory. Say which ranges are meant to count and filter accordingly. - `DirectMemory.cpp:1123`: entries are summed per range, so contiguous ranges smaller than 2 MiB that share a granule (any partial `mprotect` splits a range) each charge it again. Count each granule once per pool, or state that the double count matches Kyty and pin it in the test. - `Export.cpp:399`: with unverified constants, `available` can now drop to 0 where `main` reports 2048. Please show the numbers a typical start-up produces (e.g. the values printed at the call in PPSA30601) so we know the dynamic count doesn't starve a title that the static answer lets through. - Test: add a case with two sub-2 MiB neighbours in one granule and one for a CPU+GPU protection, with expected values taken from Kyty's rules, not from this implementation's output.
akkadbakkad89 commented 2026-10-13 05:38:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-13T05:38:00Z.


Rebased onto current main (88107b7de, which includes the merged #4101) as requested — single focused commit, no merge commits, and the conflict with #4101's sceKernelGetPageTableStats is resolved by layering the live counting on top of it. Their CheckPageTableStats in guest_memory stays valid and passes under the counting implementation.

Since #4101 merged first, this PR's diff now reads as: static totals kept, available now computed from committed protection ranges. Rebuilt and retested on this base (WSL): guest_page_table_stats, guest_memory, guest_memory_pool_stats, guest_addresses, guest_mlock, guest_msync pass; check_conventions.py --base upstream/main clean.

AI-assisted (Devin).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6139042497 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6139042497). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-13T05:38:00Z. --- Rebased onto current `main` (88107b7de, which includes the merged #4101) as requested — single focused commit, no merge commits, and the conflict with #4101's `sceKernelGetPageTableStats` is resolved by layering the live counting on top of it. Their `CheckPageTableStats` in `guest_memory` stays valid and passes under the counting implementation. Since #4101 merged first, this PR's diff now reads as: static totals kept, `available` now computed from committed protection ranges. Rebuilt and retested on this base (WSL): `guest_page_table_stats`, `guest_memory`, `guest_memory_pool_stats`, `guest_addresses`, `guest_mlock`, `guest_msync` pass; `check_conventions.py --base upstream/main` clean. AI-assisted (Devin).
akkadbakkad89 commented 2026-10-13 06:50:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-13T06:50:41Z.


All five points addressed in 08774c0e1:

  1. Dual-access ranges — fixed: prot & 0x7 now charges the cpu pool and prot & GuestProtGpuReadWrite (0x30) the gpu pool, independently, so a 0x33 range counts in both like Kyty. The direct-mapping test (prot 0x33) now asserts both pools drop, which caught the earlier either/or mistake.

  2. Which ranges count — g_protections holds committed mappings only: DoReserveVirtual records into the separate g_reservations map and calls RecordProtection(addr, len, -1), so reservations are never recorded here. Within the map, each range is charged to each pool whose access bits it carries; a range with no cpu or gpu access bits (e.g. PROT_NONE or ACP-only protections) charges neither, matching Kyty's committed-range access classes. The debt entry now says this explicitly.

  3. Shared granules — kept Kyty's per-range sum (each range charges the granules it covers, so split neighbours in one granule charge it once each) rather than deduplicating, and pinned it in the new CheckSharedGranule: two adjacent 16 KiB maps inside one 2 MiB granule drop cpu_available by 2, not 1.

  4. Startup numbers — measured in guest_page_table_stats on this branch (WSL): a fresh process reports cpu 2048/2048, gpu 2048/2048 (guest image segments aren't recorded, so baseline use is 0); after a 6 MiB flexible map 2045/2048; a 2 MiB 0x33 map 2047/2047; two 16 KiB neighbours 2046/2048. available reaches 0 only past 4 GiB of committed coverage on a side — the same ceiling the constants imply on console — and reservations cannot inflate usage since they are not recorded.

  5. Tests — added CheckDualAccessMapping (0x33 charges both pools, restore on unmap) and CheckSharedGranule (the Kyty per-range double charge above), both with expected values derived from Kyty's rules. guest_page_table_stats, guest_memory, guest_memory_pool_stats, guest_addresses, guest_mlock, guest_msync pass; check_conventions.py clean.

AI-assisted (Devin).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140004714 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6140004714). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-13T06:50:41Z. --- All five points addressed in 08774c0e1: 1. **Dual-access ranges** — fixed: `prot & 0x7` now charges the cpu pool and `prot & GuestProtGpuReadWrite` (0x30) the gpu pool, independently, so a `0x33` range counts in both like Kyty. The direct-mapping test (`prot 0x33`) now asserts both pools drop, which caught the earlier either/or mistake. 2. **Which ranges count** — `g_protections` holds committed mappings only: `DoReserveVirtual` records into the separate `g_reservations` map and calls `RecordProtection(addr, len, -1)`, so reservations are never recorded here. Within the map, each range is charged to each pool whose access bits it carries; a range with no cpu or gpu access bits (e.g. PROT_NONE or ACP-only protections) charges neither, matching Kyty's committed-range access classes. The debt entry now says this explicitly. 3. **Shared granules** — kept Kyty's per-range sum (each range charges the granules it covers, so split neighbours in one granule charge it once each) rather than deduplicating, and pinned it in the new `CheckSharedGranule`: two adjacent 16 KiB maps inside one 2 MiB granule drop `cpu_available` by 2, not 1. 4. **Startup numbers** — measured in `guest_page_table_stats` on this branch (WSL): a fresh process reports `cpu 2048/2048, gpu 2048/2048` (guest image segments aren't recorded, so baseline use is 0); after a 6 MiB flexible map `2045/2048`; a 2 MiB `0x33` map `2047/2047`; two 16 KiB neighbours `2046/2048`. `available` reaches 0 only past 4 GiB of committed coverage on a side — the same ceiling the constants imply on console — and reservations cannot inflate usage since they are not recorded. 5. **Tests** — added `CheckDualAccessMapping` (0x33 charges both pools, restore on unmap) and `CheckSharedGranule` (the Kyty per-range double charge above), both with expected values derived from Kyty's rules. `guest_page_table_stats`, `guest_memory`, `guest_memory_pool_stats`, `guest_addresses`, `guest_mlock`, `guest_msync` pass; `check_conventions.py` clean. AI-assisted (Devin).
nicolasfalesy commented 2026-10-13 07:36:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by nicolasfalesy on 2026-10-13T07:36:10Z.


Linux test (Arch, GCC 16.2.1, glibc, Release), this PR merged onto main 7e181fcc3 together with #4725, #4719, #4585 and #4582 (no conflicts): guest_page_table_stats passes. With this PR's source change reverted (test kept), it fails on Linux, so the check guards the change on Linux too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140682067 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6140682067). Originally posted by [nicolasfalesy](https://github.com/nicolasfalesy) on 2026-10-13T07:36:10Z. --- Linux test (Arch, GCC 16.2.1, glibc, Release), this PR merged onto `main` 7e181fcc3 together with #4725, #4719, #4585 and #4582 (no conflicts): `guest_page_table_stats` passes. With this PR's source change reverted (test kept), it fails on Linux, so the check guards the change on Linux too.
akkadbakkad89 commented 2026-10-13 10:55:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-13T10:55:56Z.


Verified on WSL Ubuntu 24.04 as well — guest_page_table_stats and the neighboring guest_memory* tests pass here too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6143994213 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6143994213). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-13T10:55:56Z. --- Verified on WSL Ubuntu 24.04 as well — `guest_page_table_stats` and the neighboring `guest_memory*` tests pass here too.
adriadam10 commented 2026-10-13 15:26:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T15:26:58Z.

Review: APPROVED


Checked the counting against KytyPS5's CountPageTableEntries (per committed range, cpu and gpu pools independent, no-access ranges skipped, clamped at 2048): same results. The five earlier points are addressed. The only conflict was the sceKernelGetPageTableStats line in docs/dev/debt/libkernel.md next to clock_settime; rebased onto main, kept your entry. Scoped build and ctest 150/150, and guest_page_table_stats fails without the change. Merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5505995646 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#pullrequestreview-5505995646). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-13T15:26:58Z. **Review:** APPROVED --- Checked the counting against KytyPS5's `CountPageTableEntries` (per committed range, cpu and gpu pools independent, no-access ranges skipped, clamped at 2048): same results. The five earlier points are addressed. The only conflict was the `sceKernelGetPageTableStats` line in `docs/dev/debt/libkernel.md` next to `clock_settime`; rebased onto `main`, kept your entry. Scoped build and ctest 150/150, and `guest_page_table_stats` fails without the change. Merging once the full Build is green.
akkadbakkad89 commented 2026-10-13 19:05:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-13T19:05:47Z.


Rebased onto current main (dacd78525): single commit, the only conflict was the sceKernelGetPageTableStats entry in docs/dev/debt/libkernel.md (kept this entry next to the new pthread_atfork/clock_settime ones). Rebuilt on this base: guest_page_table_stats, guest_memory, guest_memory_pool_stats, guest_addresses, guest_mlock, guest_msync pass; check_conventions.py --base upstream/main clean.

AI-assisted (Devin).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6153057396 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6153057396). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-13T19:05:47Z. --- Rebased onto current `main` (dacd78525): single commit, the only conflict was the `sceKernelGetPageTableStats` entry in `docs/dev/debt/libkernel.md` (kept this entry next to the new `pthread_atfork`/`clock_settime` ones). Rebuilt on this base: `guest_page_table_stats`, `guest_memory`, `guest_memory_pool_stats`, `guest_addresses`, `guest_mlock`, `guest_msync` pass; `check_conventions.py --base upstream/main` clean. AI-assisted (Devin).
blawesom commented 2026-10-13 19:25:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-13T19:25:49Z.


Rebase handoff — rebased onto current main (docs-only conflict, both entries kept), authorship unchanged.

Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON, AMD RX 9070 XT / RADV):

  • builds; tools/check_conventions.py --base origin/main passes
  • full suite: 1071/1072 — the only failure is the known main regression (agc_driver_tessellation segfault, #4727)

To pick it up:

git fetch https://github.com/blawesom/AnyPS5 rebase/4725
git checkout <your branch>
git merge --ff-only FETCH_HEAD

Head is f9cc81d86.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6153424921 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6153424921). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-13T19:25:49Z. --- **Rebase handoff** — rebased onto current `main` (docs-only conflict, both entries kept), authorship unchanged. Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`, AMD RX 9070 XT / RADV): - builds; `tools/check_conventions.py --base origin/main` passes - **full suite: 1071/1072** — the only failure is the known `main` regression (`agc_driver_tessellation` segfault, #4727) **To pick it up:** ``` git fetch https://github.com/blawesom/AnyPS5 rebase/4725 git checkout <your branch> git merge --ff-only FETCH_HEAD ``` Head is `f9cc81d86`.
akkadbakkad89 commented 2026-10-13 19:29:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-13T19:29:42Z.


f9cc81d86 is the current head — already rebased onto dacd78525, so nothing to pick up on this side. Thanks for the RADV run and the suite verification.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6153493669 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6153493669). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-13T19:29:42Z. --- f9cc81d86 is the current head — already rebased onto `dacd78525`, so nothing to pick up on this side. Thanks for the RADV run and the suite verification.
adriadam10 commented 2026-10-14 10:43:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T10:43:38Z.


Rebuilt on current main: scoped build and ctest green, guest_page_table_stats fails without the change and passes with it; the counting matches KytyPS5's CountPageTableEntries (cpu and gpu pools independent, clamped at 2048). Merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6166542258 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4725#issuecomment-6166542258). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T10:43:38Z. --- Rebuilt on current `main`: scoped build and ctest green, `guest_page_table_stats` fails without the change and passes with it; the counting matches KytyPS5's `CountPageTableEntries` (cpu and gpu pools independent, clamped at 2048). Merging once the full Build is green.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4725
No description provided.