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)
Wed, Oct 23, 12:37 PM
Unknown Object (File)
Sat, Oct 19, 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
Unknown Object (File)
Sep 16 2024, 3:20 PM
Unknown Object (File)
Sep 14 2024, 2:31 AM
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