<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">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@gmail.com> wrote:

</pre>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>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) : </div>
<div><br>
</div>
<div>1- A thread running on a core that updates the page table.</div>
<div>2- On another core another thread is running and trying to update the page table.</div>
<div><br>
</div>
<div>Is that use case possible, or disabling dispatches, MMU, and interrupts avoids that situation ?</div>
<div><br>
</div>
<div>Is it possible to force a thread to run on a specific core ? or the current SMP scheduler handles that ?</div>
<div><br>
</div>
<div>I am thinking of applying a SHARED_MEMORY attribute on page tables itself and implement the mentioned use case. </div>
<div><br>
</div>
<div>Regards,</div>
<div>Hesham</div>
</div>
</div>
</body>
</html>