LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Kernel Hacking (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-hacking-502505/)

Siva4Linux 11-17-2006 08:56 AM

Kernel Hacking
 
Hello there,

I am not sure it is the right subgroup to ask/post my question, although in fact this question arose when I was dealing with my wireless testbed.

Does any body know what is the purpose of spin_lock_irqsave() and spin_lock_irqrestore() ?

Thanks in advance for taking your invaluable time to answer my question.

Cheers

Siva

Brian1 11-17-2006 06:13 PM

Not sure on that but if you goto http://www.google.com/linux and use the search string spin_lock_irqsave it shows many links to the subject but nothing specfic. Might search through the kernel docs for info as well.

Brian

david_ross 11-18-2006 07:17 AM

Moved: This thread is more suitable in Linux Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.

someshwar 11-20-2006 01:27 AM

we use these API's in entry & exit of critical sections.
becoz we don't want toget interrupted while being in the critical section.

U can get more info in "Understanding Linux Kernel"(O'reilly) book.


All times are GMT -5. The time now is 11:34 AM.