LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2005, 12:50 PM   #1
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Rep: Reputation: 15
wt cli() does in linux ??


hi,
wt the cli() does in linux ??? does it disable interrupts on all processor or only on local processor ??? or is it depends tht frm which context it is called ??? say for example if it is called from interrupt handler thn will desable interrupts only on current processor (by clearing IF flag of eflags register) or else on all the processor ????

Regards
Mehul
 
Old 04-08-2005, 04:36 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
i think only one processor can be in a cli/sti pair at a time but that one processor goes imediately and get a global lock thus blocking all interupt handeling (i think)??

get_irqlock(), called from __global_cli (and asm-i386/system.h #defines cli() to __global_cli())
 
Old 04-11-2005, 05:17 AM   #3
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
tks fr reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 distro to learn CLI while keeping XP? babyphil Linux - Distributions 5 06-08-2004 05:58 PM
Linux CLI app similar to Mailwasher for Windows? wenberg Linux - Software 7 02-22-2004 09:17 AM
Linux BitTorrent CLI fr0zen Linux - Software 2 12-26-2003 04:58 AM
CLI Linux scott_R Linux - General 10 11-26-2003 04:36 AM
I want CLI ONLY linux--How? bluceree Linux - Software 8 05-02-2003 05:03 AM


All times are GMT -5. The time now is 12:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration