From ac98799688936b91a8d3a416d8102ad10756f3bd Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:31:13 -0800 Subject: [PATCH] [PATCH] Missing end tags in kernel-locking kerneldoc From: Rusty Russell From: Adam Kropelin The new-and-improved kernel-locking kerneldoc seems to be missing some end tags which causes 'make foodocs' to die. I'm not sure if it's because of my not-bleeding-edge docbook utils or if it's a genuine error. Since most ending tags are present I tend to think it's an error. --- Documentation/DocBook/kernel-locking.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/DocBook/kernel-locking.tmpl b/Documentation/DocBook/kernel-locking.tmpl index 811e0623ef3b2..b334f20de2716 100644 --- a/Documentation/DocBook/kernel-locking.tmpl +++ b/Documentation/DocBook/kernel-locking.tmpl @@ -66,6 +66,7 @@ fundamentals of concurrency and locking for SMP. + The Problem With Concurrency @@ -193,6 +194,7 @@ And then there are the unfriendly primitives, but I'll pretend they don't exist. + @@ -657,6 +659,7 @@ + @@ -1110,6 +1113,7 @@ used to protect the reference count itself. return obj; } + @@ -1229,6 +1233,7 @@ which locks. This is extremely important, as it describes the runtime behavior of the code, and can be hard to gain from just reading. And as Alan Cox says, Lock data, not code. + @@ -1317,6 +1322,7 @@ as Alan Cox says, Lock data, not code. The two CPUs will spin forever, waiting for the other to give up their lock. It will look, smell, and feel like a crash. + Preventing Deadlock @@ -1886,6 +1892,7 @@ machines due to caching. + Some Functions Which Don't Sleep -- 2.53.0