mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base: add affinity support to pager construction
Propagating the affinity information is needed to allow for assigning a pager thread that is local to the CPU of the to-be-created thread. issue #814
This commit is contained in:
committed by
Norman Feske
parent
e171683b8c
commit
4ae1faf14d
@@ -136,6 +136,11 @@ namespace Genode {
|
||||
*/
|
||||
void affinity(unsigned cpu);
|
||||
|
||||
/**
|
||||
* Get the executing CPU for this thread
|
||||
*/
|
||||
unsigned affinity();
|
||||
|
||||
/**
|
||||
* Get thread name
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,14 @@ using namespace Codezero;
|
||||
|
||||
void Platform_thread::affinity(unsigned int cpu_no)
|
||||
{
|
||||
PDBG("not yet implemented");
|
||||
PDBG("'%s' not yet implemented", __PRETTY_FUNCTION__);
|
||||
}
|
||||
|
||||
|
||||
unsigned Platform_thread::affinity()
|
||||
{
|
||||
PDBG("'%s' not yet implemented", __PRETTY_FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user