docs(debt): record that guest thread priorities are not applied to host threads #6750
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6750"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-16T09:33:39Z.
What
The
sched_get_priority_max, sched_get_priority_minentry indocs/dev/debt/libkernel.mdstarted as a gap:SCHED_OTHER's range was unverified (570aac467). Three fixes then matched PS5 (firmware 13.60) measurements:3ba4751f9,5c6a9d22cand143eb6aae. Each one rewrote the entry to describe the corrected behaviour instead of removing what it fixed. The entry now lists only behaviour that matches the console, so it no longer records any debt.The gap that remains isn't written anywhere. Guest policies and priorities are stored in the thread and reported back (
Pthread/src/Thread.cpp), but nothing passes them to the host. Outside the AGC driver's ownAPS5_THREAD_PRIORITYworkers,core/has noSetThreadPriority,sched_setschedulerorsetprioritycall, so every guest thread runs at the host's default priority.This PR replaces the entry with one under Functional that states that gap. It keeps one line on what was measured, so the scope stays clear.
Tested
Documentation only.
tools/check_conventions.py --base origin/mainpasses andgit diff --checkis clean.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T09:54:03Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.md