May I know where you read this. It does not seems ok to me. I agree with your view point. Gaurav On 7/25/06, Grob Team <grobteam@xxxxxxxxx> wrote:
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
-- Gaurav Email: gauravd.chd@xxxxxxxxx -------------------------------------------- Read my articles at: http://lkdp.blogspot.com -------------------------------------------- Easy to get air tickets at affordable price, US to India Air Tickets: www.Ritz-Travel.com Call at 001-503-848-2299 or mail at info@xxxxxxxxxxxxxxx -------------------------------------------- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/