[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About kernel preemption
Hi,
Why can't the kernel be preempted when locks are being held inside it?
If a thread executing in kernel space enters a critical region and
gets preempted, the lock will protect the critical region from other
threads, so I don't see what is the problem.
Thanks,
-- Martim
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/