6

atomicity

view full story
linux-howto

http://www.linuxforums.org – When I want to execute a little code snippet absolute atomically on it's current CPU, which instructions do I have to call before? Do I need local_irq_disable() *and* preempt_disable() or is one of them sufficient? I.e. is one a subset of the other or where is the difference between these calls? (HowTos)