SMP/MMU updating page tables on realview BSP

Joel Sherrill Joel.Sherrill at OARcorp.com
Fri Jul 5 16:24:28 UTC 2013


There is a feature called thread affinity which can be used to specify the set of one it more cores a thread can run on. This is not implemented but I'd in the hoped for near term wish list.

Hesham Moustafa <heshamelmatary at gmail.com> wrote:



Hi,

I am working on a use case for cortex-a9/realview BSP that deals with page tables and MMU. I need your help in gathering the required API and calls and any other details to implement the following case (if applicable) :

1- A thread running on a core that updates the page table.
2- On another core another thread is running and trying to update the page table.

Is that use case possible, or disabling dispatches, MMU, and interrupts avoids that situation ?

Is it possible to force a thread to run on a specific core ? or the current SMP scheduler handles that ?

I am thinking of applying a SHARED_MEMORY attribute on page tables itself and implement the mentioned use case.

Regards,
Hesham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130705/532936e3/attachment-0001.html>


More information about the devel mailing list