aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/cpuset.2
Commit message (Collapse)AuthorAgeFilesLines
* libsys: relocate implementations and manpagesBrooks Davis2024-02-051-302/+0
| | | | | | | | | Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* cpuset: Fix sched_[g|s]etaffinity() for better compatibility with Linux.Dmitry Chagin2023-01-291-1/+3
| | | | | | | | | | | | | | | | | | | | Under Linux to sched_[g|s]etaffinity() functions the value returned from a call to gettid(2) (thread id) can be passed in the argument pid. Specifying pid as 0 will set the attribute for the calling thread, and passing the value returned from a call to getpid(2) (process id) will set the attribute for the main thread of the thread group. Native cpuset(2) family of system calls has "which" argument to determine how the value of id argument is interpreted, i.e., CPU_WHICH_TID is used to pass a thread id and CPU_WHICH_PID - to pass a process id. For now native sched_[g|s]etaffinity() implementation is wrong as uses "which" CPU_WHICH_PID to pass both (process and thread id) to the kernel. To fix this adding a new "which" CPU_WHICH_TIDPID intended to handle both id's. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D38209 MFC after: 1 week
* Add code examples to cpuset(2), and improve cross referencing.Robert Watson2021-04-251-0/+66
| | | | | | MFC after: 1 week Reviewed by: jeff, jrtc27, kevans, bcr (manpages) Differential revision: https://reviews.freebsd.org/D27803
* cpuset{,_getaffinity,_getdomain}.2: fix SEE ALSOEnji Cooper2020-12-111-1/+1
| | | | | | | | | | | | Sort by manpage section, then sort entries alphabetically. This makes the manpages `make manlint` clean. MFC after: 1 week Sponsored by: DellEMC Isilon Notes: svn path=/head/; revision=368546
* Fix cpuwhich_t column widthMitchell Horne2019-09-081-1/+1
| | | | | | | | | Not bumping .Dd since this is purely a format change. Approved by: markj (mentor) Notes: svn path=/head/; revision=352048
* Document new NUMA related syscalls and utility options.Jeff Roberson2018-03-241-10/+14
| | | | | | | Sponsored by: Netflix, Dell/EMC Isilon Notes: svn path=/head/; revision=331508
* cpuset.2: Document new API optionsConrad Meyer2017-05-031-1/+3
| | | | | | | | | | | A follow-up to r317756. Adrian will chase up the userspace cpuset(1) additions. Reported by: kib@ Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=317757
* cpuset.9: Link to/from the new pageConrad Meyer2015-10-201-2/+3
| | | | | | | | | A follow-up to r289667. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=289668
* Document CPU_WHICH_DOMAIN and bump Dd for cpuset.1.John Baldwin2015-01-081-1/+2
| | | | | | | Missed in: r276829 Notes: svn path=/head/; revision=276849
* use .Mt to mark up email addresses consistently (part4)Baptiste Daroussin2014-06-231-2/+2
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267774
* document _JAIL as a possible option to set a cpuset for a jail..John-Mark Gurney2014-02-151-1/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=261910
* Remove cross-references to nonexistent CPU_SET(3) manpage.Joel Dahl2013-04-211-1/+0
| | | | | | | | | | Also fix cpu_getaffinity(2) document title. PR: 176317 Submitted by: brucec Notes: svn path=/head/; revision=249716
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-4/+4
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).Xin LI2010-01-091-2/+4
| | | | | | | | Reviewed by: davidxu MFC after: 2 weeks Notes: svn path=/head/; revision=201892
* cpuset(2): fix a typo and a markup error in the man pageJilles Tjoelker2009-12-151-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=200589
* Support for CPU sets is going to appear in 7.1 before 8.0.John Baldwin2008-09-291-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=183464
* Document that you must include <sys/param.h> before <sys/cpuset.h>.Antoine Brodin2008-04-201-0/+1
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=178329
* - Add a man page for cpuset(), cpuset_setid(), and cpuset_getid() and hookJeff Roberson2008-03-291-0/+225
it up to the build. Reviewed by: brueffer (skeleton and formatting assistance) Notes: svn path=/head/; revision=177705