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 33] SMP lock #73

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

[Patch axel 33] SMP lock #73

wants to merge 6 commits into from

Conversation

axel-h
Copy link
Owner

@axel-h axel-h commented May 23, 2022

for seL4#856

@axel-h axel-h force-pushed the patch-axel-33 branch 11 times, most recently from 7d35599 to aad66b5 Compare May 30, 2022 19:31
@axel-h axel-h force-pushed the patch-axel-33 branch 4 times, most recently from 84d2540 to d111101 Compare June 7, 2022 13:06
@axel-h axel-h added the hw-build label Jun 7, 2022
@axel-h axel-h marked this pull request as draft June 7, 2022 13:16
@axel-h axel-h force-pushed the patch-axel-33 branch 3 times, most recently from 3730d2d to 0e7eb70 Compare June 7, 2022 13:44
@axel-h axel-h force-pushed the patch-axel-33 branch 3 times, most recently from f278cdf to 17c024e Compare June 7, 2022 14:20
@axel-h axel-h force-pushed the patch-axel-33 branch 3 times, most recently from 9a8f29e to 897c5a5 Compare September 14, 2022 22:46
@axel-h axel-h force-pushed the patch-axel-33 branch 2 times, most recently from 29a2564 to 763d49a Compare April 13, 2023 11:49
@axel-h axel-h force-pushed the patch-axel-33 branch 2 times, most recently from 120b34f to bb260f7 Compare April 24, 2023 15:30
@axel-h axel-h force-pushed the patch-axel-33 branch 2 times, most recently from a2ec6ea to dd3697f Compare June 8, 2023 04:02
@axel-h axel-h force-pushed the patch-axel-33 branch 4 times, most recently from ae9c1c6 to ffd2309 Compare August 27, 2023 19:11
@axel-h axel-h force-pushed the patch-axel-33 branch 2 times, most recently from 6c6d966 to 26a5aad Compare October 27, 2023 13:40
@axel-h axel-h force-pushed the patch-axel-33 branch 2 times, most recently from d59636f to 44d5a2e Compare November 8, 2023 13:56
kent-mcleod and others added 6 commits November 10, 2024 17:36
The CLH lock is a FIFO lock and the sel4_atomic_exchange operation is
only used for adding the node to the end of the lock queue. Even if all
nodes arrive at the lock at the same time, the last node to succeed will
only wait for as long as it takes for other nodes to complete the
exchange first.
The function name is misleading, this is not generic. Also, it is used
in exactly one place.

Signed-off-by: Axel Heider <[email protected]>
If the atomic swap cannot be guaranteed, there is not point in updating
the value.

Signed-off-by: Axel Heider <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants