State of the process when calling syscall?

What is the state of the process when it calls syscall?

I mean, do not use it as inputs / outputs, such as reading or writing ...

Is it an itelft process that executes kernel code, or is the process paused there, like the "kernel thread" that executes the syscall handler (and knows which process is called (current))?

I am not sure what the changes are from execution to readiness or execution to block.

+3
source share
2 answers

, - , . , , Running Runnable.

+1

, syscall.

, syscall, PI , , , , "R". , .

, - sleep(), , , . , , .

, getpid(), , ram. , , , , read() .

+2

Source: https://habr.com/ru/post/1755684/


All Articles