Questions tagged [restartable-sequence]
3 questions
8
votes
0 answers
What are RSEQs (Restartable Sequences) and how to use them?
Linux 4.18 introduced the rseq(2) syscall. I found only one question on SO that mentions rseq at all, and there is relatively little information about it online, so I decided to ask. What are restartable sequences and how can they be used by…

janekb04
- 4,304
- 2
- 20
- 51
3
votes
0 answers
optimizing percpu 2 level bit vector in restartable sequence on x86-64, skylake
I am curious for how I can best optimize the assembly below, specifically the part in the code block under "JUMP HERE TO SEE THE ASSEMBLY" (for easy control-f searching).
I am writing some code and the HOT HOT HOT path is basically finding a 0 bit…

Noah
- 1,647
- 1
- 9
- 18
0
votes
1 answer
How to restart docker containers in custom order after server restarts?
How can I restart docker containers in custom order when the server restarts?
Hi guys, so I'm trying to start all my docker containers if my server restarts, I have around 30 containers, I've read about using
docker update --restart unless-stopped…

Viv Bass
- 3
- 1