[Bug 1876] Add SMP ISR support
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Aug 4 21:09:42 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1876
--- Comment #5 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-08-04 16:09:42 CDT ---
(In reply to comment #4)
> It's not clear to me what this patch is adding. Most of the new functions are
> just wrappers for existing functions. Mainly I just see a bunch of function
> renames and some extra debugging code. Is this patch necessary to ease later
> integration of SMP-related implementations? If so, why/how does it help?
>
> If the reason for the patch is made clear, then I don't have a problem with it.
When you disable interrupts on an SMP system, you may want to do more work than
on a single core system. Although not currently needed by any test, we believe
we should also use a spin lock to ensure that no core enters an interrupt
critical section.
On a non-SMP system, you generally want to completely inline manipulating the
CPU state to disable interrupts. On an SMP system, we will end up doing more
than that. So it can't be inlined and it will have more functionality.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list