Results 1 to 1 of 1
Thread: question on interrupts in linux
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2004
question on interrupts in linux
when interrupt occurs, what is the sequence of steps that are performed by linux.
i know kernel leaves the work it is currently doing and switches to interrupt handler to handle that interrupt.
But it want to know the activities in terms of system calls that occur during that activity?
I also want to know if a process is running on one terminal and if i click with mouse on panel bar to invoke another terminal, on KDE desktop, what happens? again i mean in terms of system calls.
Suppose we have a module in which system calls are trapped by changing system call table pointer. Thus before the actual system call, my module is called. In this module some simple activities are performed like printing information, like process id and it's name or, in some case i may also store this information in some data structure i use, and then actual system call is called within that module.
Calling of actual system call is done so that functionality of kernel is not affected.
Now in this thing if the situation described above comes, i.e.
If a process is running on one terminal and if i click with mouse on panel bar to invoke another terminal, on KDE desktop, what happens? i mean in terms of system calls.
Will that thing affect my module or it's functionality(functionality of my module is as simple as i have described earlier)?
Thanks in advance.