Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99e9d958 authored by John Kacur's avatar John Kacur Committed by Ingo Molnar
Browse files

irq/Documentation: Correct result of echnoing 5 to smp_affinity



This command:

  echo 5 > /proc/irq/10/smp_affinity

means only the first and third (not fourth) CPUs can handle irqs
That is, CPU0 is the first CPU and CPU2 is the third cpu

Signed-off-by: default avatarJohn Kacur <jkacur@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1466168715-8410-1-git-send-email-jkacur@redhat.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent b79efd34
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -725,7 +725,7 @@ IRQ, you can set it by doing:
  > echo 1 > /proc/irq/10/smp_affinity
  > echo 1 > /proc/irq/10/smp_affinity


This means that only the first CPU will handle the IRQ, but you can also echo
This means that only the first CPU will handle the IRQ, but you can also echo
5 which means that only the first and fourth CPU can handle the IRQ.
5 which means that only the first and third CPU can handle the IRQ.


The contents of each smp_affinity file is the same by default:
The contents of each smp_affinity file is the same by default: