* [PATCH] Documentation: Correct result of echnoing 5 to smp_affinity
@ 2016-06-17 13:05 John Kacur
2016-07-10 15:00 ` [tip:irq/core] irq/Documentation: " tip-bot for John Kacur
0 siblings, 1 reply; 2+ messages in thread
From: John Kacur @ 2016-06-17 13:05 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra; +Cc: linux-kernel, John Kacur
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: John Kacur <jkacur@redhat.com>
---
Documentation/filesystems/proc.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index e8d00759bfa5..5b61eeae3f6e 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -725,7 +725,7 @@ IRQ, you can set it by doing:
> echo 1 > /proc/irq/10/smp_affinity
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:
--
2.4.11
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:irq/core] irq/Documentation: Correct result of echnoing 5 to smp_affinity
2016-06-17 13:05 [PATCH] Documentation: Correct result of echnoing 5 to smp_affinity John Kacur
@ 2016-07-10 15:00 ` tip-bot for John Kacur
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for John Kacur @ 2016-07-10 15:00 UTC (permalink / raw)
To: linux-tip-commits
Cc: torvalds, hpa, mingo, jkacur, peterz, tglx, linux-kernel
Commit-ID: 99e9d958726c04cec3e36902d8583fdd8cb5b1bb
Gitweb: http://git.kernel.org/tip/99e9d958726c04cec3e36902d8583fdd8cb5b1bb
Author: John Kacur <jkacur@redhat.com>
AuthorDate: Fri, 17 Jun 2016 15:05:15 +0200
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 10 Jul 2016 16:55:04 +0200
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: John 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: Ingo Molnar <mingo@kernel.org>
---
Documentation/filesystems/proc.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index e8d0075..5b61eea 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -725,7 +725,7 @@ IRQ, you can set it by doing:
> echo 1 > /proc/irq/10/smp_affinity
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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-10 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 13:05 [PATCH] Documentation: Correct result of echnoing 5 to smp_affinity John Kacur
2016-07-10 15:00 ` [tip:irq/core] irq/Documentation: " tip-bot for John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®