Loading...
「ツール」は右上に移動しました。
利用したサーバー: watawata8
320いいね 11026回再生

How system call works ? #shorts #linux #os #internals #bydubebox

How system call works ?

When a user program calls a system call, let's say write .

It will cause an interrupt, and transition will happen from user mode to kernel mode, after saving necessary addresses in registers.

In interrupt routine , kernel will perform write for requested system call.

Control would be transferred back to user mode , after completing the activity.
Execution will resume in user mode by getting already saved addresses.

#shorts #linux #os #internals #bydubebox

コメント