-
Notifications
You must be signed in to change notification settings - Fork 1
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
axel-h
wants to merge
6
commits into
master
Choose a base branch
from
patch-axel-33
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7d35599
to
aad66b5
Compare
84d2540
to
d111101
Compare
3730d2d
to
0e7eb70
Compare
f278cdf
to
17c024e
Compare
9a8f29e
to
897c5a5
Compare
29a2564
to
763d49a
Compare
120b34f
to
bb260f7
Compare
a2ec6ea
to
dd3697f
Compare
ae9c1c6
to
ffd2309
Compare
6c6d966
to
26a5aad
Compare
d59636f
to
44d5a2e
Compare
44d5a2e
to
68b201b
Compare
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.
Signed-off-by: Axel Heider <[email protected]
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]>
06f20b0
to
4ea3b9f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
for seL4#856