system calls - What's the design principle of syscall? -


how linux determine functionality should classified syscall while others can directly implemented in user space?

a system call performed when processing must occur in kernel - meaning requires escalated privileges or access kernel-private resources. typically if can kept in userspace, it's done there. there performance reasons when things moved kernel processing, , therefore require system call perform. facet transition between userspace , kernelspace relatively expensive.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -