git: pc64: Setup TSC_AUX register with each cpu's id, when rdtscp is available.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Tue Sep 5 13:21:14 PDT 2017
commit 19d996da66c61a63ff5f16a3a1ab233ad2c67db2
Author: Imre Vadász <imre at vdsz.com>
Date: Sun Sep 3 12:49:20 2017 +0200
pc64: Setup TSC_AUX register with each cpu's id, when rdtscp is available.
* This allows userland to utilize the rdtscp instruction, to associate
timestamps to physical cores, and detect migration between 2 measurements.
Summary of changes:
sys/cpu/x86_64/include/specialreg.h | 5 +++++
sys/platform/pc64/x86_64/initcpu.c | 4 ++++
2 files changed, 9 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/19d996da66c61a63ff5f16a3a1ab233ad2c67db2
--
DragonFly BSD source repository
More information about the Commits
mailing list