Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    3

    Exclamation 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •