Re: What is a "Software Interrupt"?

2007-10-26 Thread Mulyadi Santosa
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, the

RE: What is a "Software Interrupt"?

2007-10-25 Thread Thippeswamy, Aravind
Thanks. That explained a lot. Regards,, Aravind. "Dovie'andi se tovya sagain" -Mat Cauthon (WoT). -Original Message- From: Peter Teoh [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 6:54 AM To: Thippeswamy, Aravind Cc: kernelnewbies@nl.linux.org Subject

Re: What is a "Software Interrupt"?

2007-10-25 Thread Peter Teoh
On 10/25/07, Manish Katiyar <[EMAIL PROTECTED]> wrote: > 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 th

Re: What is a "Software Interrupt"?

2007-10-25 Thread Peter Teoh
On 10/25/07, Thippeswamy, Aravind <[EMAIL PROTECTED]> 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 Have not got a chance to read what u are referring t

Re: What is a "Software Interrupt"?

2007-10-25 Thread Tony Mouawad
> > -Original Message- > From: Tony Mouawad [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 25, 2007 6:19 PM > To: Thippeswamy, Aravind > Cc: kernelnewbies@nl.linux.org > Subject: Re: What is a "Software Interrupt"? > > "Software Interrupts"

Re: What is a "Software Interrupt"?

2007-10-25 Thread Tony Mouawad
"Software Interrupts" within the context of tasklets can also be called "Deferrable Functions". Generally how it works is that a device such as your ethernet card will trigger a "hardware interrupt" saying that there is data received. You will want to service hardware interrupts as quickly as pos

Re: What is a "Software Interrupt"?

2007-10-25 Thread Manish Katiyar
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 mo

RE: What is a "Software Interrupt"?

2007-10-25 Thread Thippeswamy, Aravind
ROTECTED] Sent: Thursday, October 25, 2007 6:19 PM To: Thippeswamy, Aravind Cc: kernelnewbies@nl.linux.org Subject: Re: What is a "Software Interrupt"? "Software Interrupts" within the context of tasklets can also be called "Deferrable Functions". Generally how it

Re: What is a "Software Interrupt" ?

2007-10-25 Thread Elad Lahav
I believe the book was referring to "softirqs", rather than "software interrupts". The latter, also called "Programmed Exceptions", are indeed triggered by an int instruction. The former, however, are a Linux-specific mechanism to handle interrupt bottom-halves, i.e., tasks that should be perfo

Re: What is a "Software Interrupt"?

2007-10-25 Thread Luís Henriques
Hi! On Thursday 25 October 2007, Thippeswamy, Aravind 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 Interrup