LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-17-2006, 08:56 AM   #1
Siva4Linux
Member
 
Registered: Sep 2006
Posts: 31
Blog Entries: 1

Rep: Reputation: 15
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
 
Old 11-17-2006, 06:13 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
Old 11-18-2006, 07:17 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Linux Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 11-20-2006, 01:27 AM   #4
someshwar
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Kernel Hacking gr33ndata LQ Suggestions & Feedback 1 02-18-2005 06:43 PM
Kernel Hacking sigep739 Linux - Software 2 01-08-2005 12:30 AM
Hacking Exposed Wireless Hacking Chapter prompt Linux - Wireless Networking 0 05-08-2004 02:44 PM
hacking the linux kernel boot-up RussoIsraeli Programming 1 10-20-2003 04:59 AM
Kernel hacking AMDPwred Linux - General 5 06-22-2003 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration