diff options
author | Andrei Vagin <avagin@google.com> | 2019-11-18 14:55:30 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-18 14:56:49 -0800 |
commit | 26b3341b9ae08bb72971d5465c77e6c8db82c996 (patch) | |
tree | 17948f8ebd48b6354c96c2923c32fa8e146abf60 /pkg/sentry/kernel/timekeeper_state.go | |
parent | 235a96cab15e64c69fbbdce03c9bb4eb2c30b0d5 (diff) |
platform/ptrace: use host.GetCPU instead of the getcpu syscall
This should save ~200ns from switchToApp (on ptrace too). // mpratt
PiperOrigin-RevId: 281159895
Diffstat (limited to 'pkg/sentry/kernel/timekeeper_state.go')
0 files changed, 0 insertions, 0 deletions