Page MenuHomeFreeBSD

libthr: Fix pthread_[g|s]etaffinity_np manual.
ClosedPublic

Authored by dchagin on Jan 18 2023, 6:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 9:22 PM
Unknown Object (File)
Mon, Nov 18, 6:02 PM
Unknown Object (File)
Oct 23 2024, 12:37 PM
Unknown Object (File)
Oct 19 2024, 12:27 PM
Unknown Object (File)
Oct 10 2024, 2:28 AM
Unknown Object (File)
Sep 30 2024, 7:18 PM
Unknown Object (File)
Sep 28 2024, 10:21 AM
Unknown Object (File)
Sep 19 2024, 5:12 PM
Subscribers

Details

Summary

Since f35093f8 Linux semantics of a threads affinity functions is in use:

Minimum cpuset_t size that the Linux kernel permits in case of getaffinity()
is the maximum CPU id, present in the system / NBBY, the maximum size is not
limited. For setaffinity(), Linux does not limit the size of the user-provided
cpuset_t, internally using only the meaningful part of the set, where the upper
bound is the maximum CPU id, present in the system, no larger than the size of
the kernel cpuset_t.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable