Transitioning from Ring 3 (user mode) to Ring 0 (kernel mode) for a basic system call can incur a performance cost of hundreds to over a thousand CPU cycles, significantly more than a direct user-space function call.
Open the full topic