diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-06 15:19:33 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-12 13:10:11 +0800 |
commit | dce6098b22d58e5b646b1c67174c53f5a6a05605 (patch) | |
tree | 0658f8ef3b5efcf58a386100c02b1930bbd9eea0 /include/linux/phy.h | |
parent | 57fc7323a8e7c2e7c1d5795ab63cb3ffea3cfdfb (diff) |
LoongArch: Add vDSO syscall __vdso_getcpu()
We test 20 million times of getcpu(), the real syscall version take 25
seconds, while the vsyscall version take only 2.4 seconds.
Signed-off-by: Rui Wang <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions