1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

throw exception if memory intialization fails

This commit is contained in:
Steffen Vogel 2019-02-12 17:06:09 +01:00
parent c4ab3cbbcb
commit 70dd9aeafc

View file

@ -386,7 +386,10 @@ void SuperNode::start()
assert(state == STATE_CHECKED);
memory_init(hugepages);
ret = memory_init(hugepages);
if (ret)
throw RuntimeError("Failed to initialize memory system");
kernel::rt::init(priority, affinity);
#ifdef WITH_API