Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
4lDO2
rfcs
Commits
601db294
Verified
Commit
601db294
authored
Aug 11, 2020
by
4lDO2
🖖
Browse files
Use GitLab math syntax.
parent
343d408c
Changes
1
Hide whitespace changes
Inline
Side-by-side
text/0000-io_uring.md
View file @
601db294
...
...
@@ -199,9 +199,9 @@ raw value, modulo twice the number of entries.
In other words,
$$
```
math
i \equiv r \pmod{2n}
$$
```
where $i$ is the index into the array, $r$ the raw atomic variable, and $n$ the
number of entries in the ring.
...
...
@@ -217,15 +217,15 @@ respectively.
Therefore,
$$
```
math
c_{head} = \lfloor \frac{r_{head}}{n} \rfloor
$$
$$
```
```
math
c_{tail} = \lfloor \frac{r_{tail}}{n} \rfloor
$$
$$
```
```
math
c = c_{head} \oplus c_{tail}
$$
```
where $c$ denotes the cycle flag, and $
\o
plus$ denotes XOR.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment