From 5f96365397d9af678359c742f836bfb8553c91a3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 9 Nov 2017 12:08:00 +0100 Subject: [PATCH] getcpu.2: getcpu() may have an implementation in the vDSO Signed-off-by: Michael Kerrisk --- man2/getcpu.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man2/getcpu.2 b/man2/getcpu.2 index 1e0bf972b..c66f3d4a1 100644 --- a/man2/getcpu.2 +++ b/man2/getcpu.2 @@ -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