mirror of https://github.com/mkerrisk/man-pages
tweaks
This commit is contained in:
parent
fa23e0232e
commit
90fe01c523
|
@ -49,15 +49,24 @@ and
|
|||
.I node
|
||||
are no longer the current CPU and node.
|
||||
.SH VERSIONS
|
||||
.BR getcpu (2)
|
||||
.BR getcpu ()
|
||||
was added in kernel 2.6.19 for x86_64 and i386.
|
||||
.SH CONFORMING TO
|
||||
.BR getcpu ()
|
||||
is Linux specific.
|
||||
.SH NOTES
|
||||
Linux makes a best effort to make this call as fast possible.
|
||||
The intention of
|
||||
.I getcpu(2)
|
||||
.BR getcpu ()
|
||||
is to allow programs to make optimizations with per-CPU data
|
||||
or for NUMA optimization.
|
||||
|
||||
Glibc does not provide a wrapper for this system call; call it using
|
||||
.BR syscall (2);
|
||||
or use
|
||||
.BR sched_getcpu (3)
|
||||
instead.
|
||||
|
||||
The
|
||||
.I tcache
|
||||
argument is unused since Linux 2.6.24.
|
||||
|
@ -109,7 +118,11 @@ migrating threads between CPUs, and so the argument is now ignored.
|
|||
.\" soft CPU affinity means that the information is unlikely to change
|
||||
.\" over the course of the caching interval.
|
||||
.SH SEE ALSO
|
||||
.\" FIXME(mk) add SEE ALSO entries in other pages, pointing to this page
|
||||
.\" FIXME . add SEE ALSO entry in cpuset.7
|
||||
.\" FIXME . add SEE ALSO entries in mbind.2, set_mempolicy.2,
|
||||
.\" sched_setaffinity.2, pointing to this page
|
||||
.BR mbind (2),
|
||||
.BR set_mempolicy (2),
|
||||
.BR sched_setaffinity (2)
|
||||
.BR sched_setaffinity (2),
|
||||
.BR sched_getcpu (3)
|
||||
.\" FIXME . cpuset (7)
|
||||
|
|
Loading…
Reference in New Issue