Re: synchronisation question

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

 



On 8/27/05, Gaurav Dhiman <gaurav4lkg@xxxxxxxxx> wrote:
 
> Are you sure of it that cli()/sti() disable the interrupts on all
> processors, i think it only disables the interrupts on local CPU. Well
> the cli() function is defined as follows in include/linux/interrupt.h

Yup, my bad. kernel 2.6 and above do not allow global interrupt
disables. Thanks for pointing it out.

./h
-- 
Operating Systems and Computer Architecture Research  - University of Cincinnati
http://www.ececs.uc.edu/~mohapth

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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