Image missing.
Technical Guide to System Calls: Implementation and Signal Handling in Modern OS

created: June 3, 2025, 4:45 p.m. | updated: June 3, 2025, 11:12 p.m.

One important distinction in system calls is between “fast” and “slow” system calls, which affects how they interact with signal handling, process scheduling, and overall system performance. Slow System CallsFast System CallsFast system calls are operations that can be completed immediately without requiring the kernel to wait for external events. Non-blocking System Calls (Fast)These system calls return immediately, only requiring CPU time. Slow System Call ImplementationSlow system calls have a more complex implementation:User code invokes the system call. Modern operating systems have evolved sophisticated mechanisms for dealing with different types of system calls, from simple fast calls to complex asynchronous operations.

4 days, 23 hours ago: Hacker News