Skip to content

Question about initialize of shared memory #2574

Answered by MiguelCompany
advancenXX asked this question in Q&A
Discussion options

You must be logged in to vote

@advancenXX This is by design, mainly due to the following reasoning:

  1. Real-time behavior. We want determinism, so we should do the mapping as soon as possible. This way, all subsequent writes on the segment will have almost the same WCET.
  2. Safety. We want the code to fail fast if the user configuration is not consistent with the physical limitations of the system. Doing the mapping as soon as possible ensures failing as close to the misconfiguration as possible.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@advancenXX
Comment options

Answer selected by advancenXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #2573 on March 11, 2022 07:28.