Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch-axel-86a] handle timer and ticks properly #124

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

axel-h
Copy link
Owner

@axel-h axel-h commented Nov 29, 2023

No description provided.

@axel-h axel-h force-pushed the patch-axel-86a branch 11 times, most recently from a2ee052 to 1ba0f81 Compare November 30, 2023 12:07
axel-h and others added 18 commits April 29, 2024 10:22
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Indan Zupancic <Indan.Zupancic@mep-info.com>
commitTime() assumes the SC has MIN_BUDGET left, which may not be
true for IPIs. Call chargeBudget() instead, which does almost the
same.

Signed-off-by: Indan Zupancic <Indan.Zupancic@mep-info.com>
The intention of the MCS design is that updateTimestamp is performed
as early in the kernel operation instruction stream as possible.
Acquiring the lock can take approximately WCET time.

For timer interrupts this is needed to prevent periodic tasks that
run out of budget being postponed by low priority tasks, effectively
increasing their period with the average lock take time. This will
cause periodic tasks to drift in regard to the system clock and each
other, making the system less deterministic.

See also seL4 issue seL4#844.

Signed-off-by: Indan Zupancic <Indan.Zupancic@mep-info.com>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
Signed-off-by: Axel Heider <axelheider@gmx.de>
This is a convenience function.
ToDo: having this function seem not really a good idea
Signed-off-by: Axel Heider <axelheider@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants