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)
Feb 24 2024, 1:12 AM
Unknown Object (File)
Dec 22 2023, 10:26 PM
Unknown Object (File)
Dec 12 2023, 12:36 AM
Unknown Object (File)
Nov 9 2023, 3:02 PM
Unknown Object (File)
Oct 8 2023, 1:54 PM
Unknown Object (File)
Sep 19 2023, 2:13 AM
Unknown Object (File)
Sep 19 2023, 2:10 AM
Unknown Object (File)
Sep 19 2023, 2:09 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