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: NRui Wang <wangrui@loongson.cn> Signed-off-by: NHuacai Chen <chenhuacai@loongson.cn>
Showing
arch/loongarch/vdso/vgetcpu.c
0 → 100644
想要评论请 注册 或 登录