mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
mxtasking: Changed stack size of worker threads.
This commit is contained in:
@@ -92,7 +92,7 @@ void Scheduler::start_and_wait()
|
|||||||
for (auto cpu = 2U; cpu < space.total(); ++cpu)
|
for (auto cpu = 2U; cpu < space.total(); ++cpu)
|
||||||
{
|
{
|
||||||
Genode::String<32> const name{"mx::worker#", cpu};
|
Genode::String<32> const name{"mx::worker#", cpu};
|
||||||
Libc::pthread_create_from_session(&worker_threads[cpu], Worker::entry, _worker[cpu], 128 * 4096, name.string(),
|
Libc::pthread_create_from_session(&worker_threads[cpu], Worker::entry, _worker[cpu], 32 * 4096, name.string(),
|
||||||
&mx::system::Environment::envp()->cpu(), space.location_of_index(cpu));
|
&mx::system::Environment::envp()->cpu(), space.location_of_index(cpu));
|
||||||
}
|
}
|
||||||
Genode::Trace::Timestamp end = Genode::Trace::timestamp();
|
Genode::Trace::Timestamp end = Genode::Trace::timestamp();
|
||||||
@@ -103,7 +103,7 @@ void Scheduler::start_and_wait()
|
|||||||
Channel *qf = _channels[0];
|
Channel *qf = _channels[0];
|
||||||
_worker[0]->assign(qf);
|
_worker[0]->assign(qf);
|
||||||
|
|
||||||
Libc::pthread_create_from_session(&worker_threads[0], Worker::entry, _worker[0], 128 * 4096, "foreman",
|
Libc::pthread_create_from_session(&worker_threads[0], Worker::entry, _worker[0], 32 * 4096, "foreman",
|
||||||
&mx::system::Environment::envp()->cpu(), space.location_of_index(0) );
|
&mx::system::Environment::envp()->cpu(), space.location_of_index(0) );
|
||||||
|
|
||||||
/* Always assign the first channel to the foreman, so that it is guaranteed
|
/* Always assign the first channel to the foreman, so that it is guaranteed
|
||||||
|
|||||||
Reference in New Issue
Block a user