[PATCH -perfbook 4/5] cpu/overhead: Add "samepage=true" option to short VerbatimN env
Akira Yokosawa <[email protected]> Tue, 14 Oct 2025 12:05:00 +0900
| Newsgroups | org.kernel.vger.perfbook |
|---|---|
| Message-ID | <[email protected]> |
Page/column break in the middle of this snippet should better be avoided. Signed-off-by: Akira Yokosawa <[email protected]> --- cpu/overview.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/overview.tex b/cpu/overview.tex index eedf8491..8a184f3c 100644 --- a/cpu/overview.tex +++ b/cpu/overview.tex @@ -255,7 +255,7 @@ as described in the next section. In the meantime, consider the following simple lock-based \IX{critical section}: -\begin{VerbatimN} +\begin{VerbatimN}[samepage=true] spin_lock(&mylock); a = a + 1; spin_unlock(&mylock); -- 2.43.0