Results 1 to 1 of 1
On Intel x86 Kernel 2.6.26.8-rt16,
local_bh_disable() is not effective for disabling software interrupts,
when CONFIG_PREEMPT_HARDIRQS is enabled.
From the include/linux/bottom_half.h
+#ifdef CONFIG_PREEMPT_HARDIRQS
+# define local_bh_disable() do { } while (0)
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-18-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 3
How to disable software interrupts?
On Intel x86 Kernel 2.6.26.8-rt16,
local_bh_disable() is not effective for disabling software interrupts,
when CONFIG_PREEMPT_HARDIRQS is enabled.
From the include/linux/bottom_half.h
+#ifdef CONFIG_PREEMPT_HARDIRQS
+# define local_bh_disable() do { } while (0)
Let us know any functions other than local_bh_disable that can disable software interrupts.
Regards,Last edited by Ponyo3; 02-18-2010 at 10:52 AM. Reason: Typo


Reply With Quote
