docs(libkernel): record the measured pthread_setaffinity_np set sizes #15179
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15179"
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 EagleBearerYS on 2026-11-02T20:07:21Z.
What
Corrects a sentence that #14039 added to the
pthread_getaffinity_npentry indocs/dev/debt/libkernel.md.pthread_setaffinity_npkeeps FreeBSD's unmeasured 32-byte limit".ERANGE.The setter and
cpuset_*sentence moves into an entry of its own: "their set sizes still follow FreeBSD's 32-bytecpuset_t, not the console".pthread_setaffinity_npand their #9156 sweep forcpuset_getaffinityandcpuset_setaffinity.cpuset_*, so the setter's 9 to 15 bytes weren't tried, and the entry claims nothing for them.Docs only. The setter's behaviour isn't changed here.
Related: #14039
Tested
tools/check_conventions.py: all passed.Checklist
main; no other open PR implements the same functions (docs only; no open PR changes these two entries)NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file: n/a, docs only.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T20:18:44Z.
Review: COMMENTED
Reviewed — no blocking findings
This documentation-only patch replaces an inaccurate “unmeasured” claim with the cited PS5 measurements; it does not change implementation behavior.
What I ran
Reviewed PR #15179 at head
93a3f5e0d25abc7719a7664be48b100c64a4f88eagainst base096c45570f516de76a43bbe1b97781381c84f55f; the merge preview was clean. Environment: Debian Linux x86_64, Python 3.11.2.Results
Precheck summary and raw output
git diff --check 096c45570f516de76a43bbe1b97781381c84f55f...93a3f5e0d25abc7719a7664be48b100c64a4f88e/usr/bin/python3 tools/check_conventions.py --base 096c45570f516de76a43bbe1b97781381c84f55f --head 93a3f5e0d25abc7719a7664be48b100c64a4f88e --title docs(libkernel): record the measured pthread_setaffinity_np set sizes --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15179-93a3f5e0d25a/pr-body.mdpr_test_quality.pywas absent from the isolated head snapshot.Raw conventions output:
Raw test-quality helper error:
Negative control
Not applicable; this PR changes documentation only.
Findings
Blocking
None found in the changed documentation.
Non-blocking
None.
Sources
Not verified
I did not rerun the PS5 measurements. The measurement links are contributor-reported console observations; this review verified their contents and the current implementation’s 32-byte setter check. Four hosted policy checks remain queued.
To get this to a good state
No documentation change is requested. Let the queued checks finish; I’ll refresh the head and required check results before considering approval.