@@ -93,13 +93,13 @@ Locking in the Linux Kernel
9393===========================
9494
9595If I could give you one piece of advice: never sleep with anyone crazier
96- than yourself. But if I had to give you advice on locking: *keep it
97- simple *.
96+ than yourself. But if I had to give you advice on locking: ** keep it
97+ simple ** .
9898
9999Be reluctant to introduce new locks.
100100
101101Strangely enough, this last one is the exact reverse of my advice when
102- you *have * slept with someone crazier than yourself. And you should
102+ you ** have * * slept with someone crazier than yourself. And you should
103103think about getting a big dog.
104104
105105Two Main Types of Kernel Locks: Spinlocks and Mutexes
@@ -311,7 +311,7 @@ Pete Zaitcev gives the following summary:
311311Table of Minimum Requirements
312312-----------------------------
313313
314- The following table lists the *minimum * locking requirements between
314+ The following table lists the ** minimum * * locking requirements between
315315various contexts. In some cases, the same context can only be running on
316316one CPU at a time, so no locking is required for that context (eg. a
317317particular thread can only run on one CPU at a time, but if it needs
@@ -703,7 +703,7 @@ reference count, but they are more complicated.
703703Using Atomic Operations For The Reference Count
704704~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
705705
706- In practice, `` atomic_t ` ` would usually be used for refcnt. There are a
706+ In practice, :c:type: ` atomic_t ` would usually be used for refcnt. There are a
707707number of atomic operations defined in ``include/asm/atomic.h ``: these
708708are guaranteed to be seen atomically from all CPUs in the system, so no
709709lock is required. In this case, it is simpler than using spinlocks,
@@ -1321,7 +1321,7 @@ from user context, and can sleep.
13211321
13221322 - :c:func: `put_user() `
13231323
1324- - `` kmalloc(GFP_KERNEL) ` `
1324+ - :c:func: ` kmalloc(GFP_KERNEL) <kmalloc> `
13251325
13261326- :c:func: `mutex_lock_interruptible() ` and
13271327 :c:func: `mutex_lock() `
@@ -1431,10 +1431,10 @@ tasklet
14311431timer
14321432 A dynamically-registrable software interrupt, which is run at (or close
14331433 to) a given time. When running, it is just like a tasklet (in fact, they
1434- are called from the TIMER_SOFTIRQ).
1434+ are called from the `` TIMER_SOFTIRQ `` ).
14351435
14361436UP
1437- Uni-Processor: Non-SMP. (CONFIG_SMP=n).
1437+ Uni-Processor: Non-SMP. (`` CONFIG_SMP=n `` ).
14381438
14391439User Context
14401440 The kernel executing on behalf of a particular process (ie. a system
0 commit comments