4 ms·
And even for Linux, - you still have to take C ideas in account because you don’t know how much stack a syscall wants - vdso are C-ABI objects
by masklinn 4y ago
And even for Linux,
- you still have to take C ideas in account because you don’t know how much stack a syscall wants
- vdso are C-ABI objects
- matheusmoreira 4y ago> you don’t know how much stack a syscall wants There are no such considerations when issuing Linux system calls. You place parameters in specific registers, trap into kernel mode and then read back the result from a specific register. There is one MIPS architecture where you have to pass some arguments on the stack but that's about it. > vdso are C-ABI objects Yes, unfortunately. It is not necessary to use the vDSO though. It is a performance optimization. The normal system calls will work just fine.