From da438a807679d4b1073a8b0b879a496c8c442279 Mon Sep 17 00:00:00 2001
From: Kurt Kanzenbach <kurt@linutronix.de>
Date: Fri, 15 Feb 2019 12:45:49 +0100
Subject: linux/processes: fix maxcpus kernel parameter and irq affitinity

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
[jogness: fixed up to show both set and check of affinity]
Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 linux-basics/linux-processes/pres_linux-processes_en.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'linux-basics/linux-processes/pres_linux-processes_en.tex')

diff --git a/linux-basics/linux-processes/pres_linux-processes_en.tex b/linux-basics/linux-processes/pres_linux-processes_en.tex
index 21ab9b4..ea71051 100644
--- a/linux-basics/linux-processes/pres_linux-processes_en.tex
+++ b/linux-basics/linux-processes/pres_linux-processes_en.tex
@@ -228,7 +228,7 @@ int setrlimit(int resource,
 \item CPU affinity
 \item Kernelparameters:
 \begin{itemize}
-\item max\_cpus=
+\item maxcpus=
 \item isolcpus=
 \end{itemize}
 \end{itemize}
@@ -277,6 +277,7 @@ echo 1 > /proc/irq/default_smp_affinity
 Set affinity for IRQ19 to CPU1
 \begin{verbatim}
 echo 2 > /proc/irq/19/smp_affinity
+cat /proc/irq/19/effective_affinity
 \end{verbatim}
 \end{frame}
 
-- 
cgit v1.2.3

