Re: What is a "Software Interrupt"?

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

 



Hi,

As far as I understand, software interrupts are implemented using the
"int" instruction. They are normally used to execute system calls
where the system call generates a software interrupt ie.. "int 0x80h"
which is handled by the kernel and thus the program switches from user
mode to kernel mode to execute your system call. The kernel handles
this interrupt and then executes your system call depending on the
values in registers.

Hope that helps

On 10/25/07, Thippeswamy, Aravind <AravindT@xxxxxxx> wrote:
>
>
> Hi,
>         What is a "Software Interrupt"? I was going thru the LDD 3 and
> stumbled upon this. There is an
> instance while explaining spin_lock_bh() function that the author
> mentions that this only disables the "Software Interrupts"( LDD 3,page
> number 119). In the immediately next paragraph, these "Software
> Interrupts" are linked to "tasklets". I am not able to fully understand
> this point. It would be really nice if some one elaborated on this.
>
>
>
>
>
>
>
>
> Regards,,
>
> Aravind.
>
>
>
> "Dovie'andi se tovya sagain"
>
>  -Mat Cauthon (WoT).
>
>


-- 
Thanks & Regards,
********************************************
Manish Katiyar  ( http://mkatiyar.googlepages.com )
Ozone 2, SP Infocity (Software Park),
New Survey #208 Manjari Stud Farms Ltd.,
Phursungi Village, Haveli Taluka, Saswad Road,
Hadapsar, Pune - 412308, India
***********************************************

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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