mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
base: Don't scale affinities up to platform affinity space because, else, the affinities are mapped incorrectly when the habitat has less CPU cores than the physical machine.
This commit is contained in:
@@ -267,7 +267,7 @@ Cpu_session_component::Cpu_session_component(Rpc_entrypoint &session_ep,
|
|||||||
_thread_alloc(_md_alloc), _priority(0),
|
_thread_alloc(_md_alloc), _priority(0),
|
||||||
|
|
||||||
/* map affinity to a location within the physical affinity space */
|
/* map affinity to a location within the physical affinity space */
|
||||||
_location(affinity.scale_to(platform().affinity_space())),
|
_location(affinity.location()),
|
||||||
|
|
||||||
_trace_sources(trace_sources),
|
_trace_sources(trace_sources),
|
||||||
_trace_control_area(_ram_alloc, local_rm),
|
_trace_control_area(_ram_alloc, local_rm),
|
||||||
|
|||||||
Reference in New Issue
Block a user