getcpu.2: getcpu() may have an implementation in the vDSO

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-09 12:08:00 +01:00
parent f8c419a49e
commit 5f96365397
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ was added in kernel 2.6.19 for x86-64 and i386.
is Linux-specific.
.SH NOTES
Linux makes a best effort to make this call as fast as possible.
(On some architectures, this is done via an implementation in the
.BR vdso (7).)
The intention of
.BR getcpu ()
is to allow programs to make optimizations with per-CPU data