0xAX / 0xAX/linux-insides

SYSCALL - multitasking & Interruput event

Open
#493 1 comment 0 reactions 0 assignees View on GitHub
area:syscalls enhancement help wanted
Dominant language
Python
Stars
33.5k
Forks
3.6k
Avg merge
8h 41m
Merged PRs (30d)
11

Description

Dear OxAX ,
Thanks for your efforts for writing "Linux Inside" . It has cleared most of my doubts.
I request you to please elaborate few technical doubts about System call .

1. System call in multitasking environment :
a. What will happen if higher priority task need system resources by SYSCALL but already lower priority task's SYSCALL in running ( kernel code is executing ) ?

b. During one system call multitasking / multi threading is still possible or only one thread will have access to SYSCALL ?

2. System call during External / Peripheral interrupt :
a. what will happen if external interrupt or higher priority pheripheral interrupt triggers while processing SYSCALL ?

Request you to please reply on this & if possible please add explanation in "Linux Inside"

Regards,
Gaurav

Contributor guide

Open the contributing guide

Research direction

This is a request for clarification on Linux kernel internals regarding system calls, multitasking, and interrupts. The issue does not propose a specific change to the repository. To address it, one would need to understand the relevant kernel code (e.g., kernel/sys.c, arch/x86/entry/entry_64.S) and the book's existing content on system calls. The goal would be to draft an explanation or addition to the 'Linux Inside' book.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.