interrrupt handling question on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
hi all,

when interrupt occurs, what is the sequence of steps that are performed by linux.
i know kernel leaves the work it is presently 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.




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux