locking.rst: reformat locking table

Use a different markup for this table, in order to make it
smaller when seeing in text mode.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2017-05-11 10:45:47 -03:00
parent 7b4ff1adb5
commit 5b9fd1d3be

View File

@ -319,29 +319,20 @@ Remember the advice above: you can always use
:c:func:`spin_lock_irqsave()`, which is a superset of all other :c:func:`spin_lock_irqsave()`, which is a superset of all other
spinlock primitives. spinlock primitives.
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ ============== ============= ============= ========= ========= ========= ========= ======= ======= ============== ==============
| | IRQ Handler A | IRQ Handler B | Softirq A | Softirq B | Tasklet A | Tasklet B | Timer A | Timer B | User Context A | User Context B | . IRQ Handler A IRQ Handler B Softirq A Softirq B Tasklet A Tasklet B Timer A Timer B User Context A User Context B
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ ============== ============= ============= ========= ========= ========= ========= ======= ======= ============== ==============
| IRQ Handler A | None | | | | | | | | | | IRQ Handler A None
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ IRQ Handler B SLIS None
| IRQ Handler B | SLIS | None | | | | | | | | | Softirq A SLI SLI SL
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ Softirq B SLI SLI SL SL
| Softirq A | SLI | SLI | SL | | | | | | | | Tasklet A SLI SLI SL SL None
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ Tasklet B SLI SLI SL SL SL None
| Softirq B | SLI | SLI | SL | SL | | | | | | | Timer A SLI SLI SL SL SL SL None
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ Timer B SLI SLI SL SL SL SL SL None
| Tasklet A | SLI | SLI | SL | SL | None | | | | | | User Context A SLI SLI SLBH SLBH SLBH SLBH SLBH SLBH None
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+ User Context B SLI SLI SLBH SLBH SLBH SLBH SLBH SLBH MLI None
| Tasklet B | SLI | SLI | SL | SL | SL | None | | | | | ============== ============= ============= ========= ========= ========= ========= ======= ======= ============== ==============
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+
| Timer A | SLI | SLI | SL | SL | SL | SL | None | | | |
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+
| Timer B | SLI | SLI | SL | SL | SL | SL | SL | None | | |
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+
| User Context A | SLI | SLI | SLBH | SLBH | SLBH | SLBH | SLBH | SLBH | None | |
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+
| User Context B | SLI | SLI | SLBH | SLBH | SLBH | SLBH | SLBH | SLBH | MLI | None |
+------------------+-----------------+-----------------+-------------+-------------+-------------+-------------+-----------+-----------+------------------+------------------+
Table: Table of Locking Requirements Table: Table of Locking Requirements