Spinlock on single-processor machines

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

 




Hi,

I've read that on single-processor machines rather than holding a spinlock, the kernel disables kernel preemption (2.6). However, it seems that interrupts are still enabled so if an interrupt occured and call the function who is suposed to contain the spinlock, we will have data consistency problem since the function who has been interrupted was doing something in the critical region and the isr is doing something in the critical region too. Someone can explain me what I dont understand?

Thank you

[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