diff for duplicates of <1458147733-29338-1-git-send-email-cmetcalf@mellanox.com> diff --git a/a/1.txt b/N1/1.txt index 555c43f..8b13789 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,95 +1 @@ -From the version 1 cover letter: - This patch series modifies the trigger_xxx_backtrace() NMI-based - remote backtracing code to make it more flexible, and makes a few - small improvements along the way. - - The motivation comes from the task isolation code, where there are - scenarios where we want to be able to diagnose a case where some cpu - is about to interrupt a task-isolated cpu. It can be helpful to - see both where the interrupting cpu is, and also an approximation - of where the cpu that is being interrupted is. The nmi_backtrace - framework allows us to discover the stack of the interrupted cpu. - -Version 2 of the patch series adopts the CPUIDLE_TEXT approach that I -suggested in some discussion around identifying idle cpus, and that -Peter Zijlstra endorsed. I renumbered the patches to put the idle-test -patch last in the series (4/4) and it is the only one modified in this -version of the patch series. (To be fair I did also change all the -S-O-B and author lines to be mellanox.com instead of ezchip.com). - -I've tested that the change works as desired on tile, and build-tested -x86, arm64, and arm. For x86 and arm64 I confirmed that the generic -cpuidle stuff as well as the architecture-specific routines are in the -new cpuidle section. For arm I just build-tested it and made sure the -generic cpuidle routines were in the new cpuidle section, but I didn't -attempt to tease apart the tangle of platform-specific idle routines -that arm has and tag them with __cpuidle. That might be more usefully -done by someone with arm platform experience in a follow-up patch. - -v1 of the series is here: - -https://lkml.kernel.org/r/1456782024-7122-1-git-send-email-cmetcalf@ezchip.com - -Chris Metcalf (4): - nmi_backtrace: add more trigger_*_cpu_backtrace() methods - nmi_backtrace: do a local dump_stack() instead of a self-NMI - arch/tile: adopt the new nmi_backtrace framework - nmi_backtrace: generate one-line reports for idle cpus - - arch/alpha/kernel/vmlinux.lds.S | 1 + - arch/arc/kernel/vmlinux.lds.S | 1 + - arch/arm/include/asm/irq.h | 4 +- - arch/arm/kernel/smp.c | 13 +------ - arch/arm/kernel/vmlinux.lds.S | 1 + - arch/arm64/kernel/vmlinux.lds.S | 1 + - arch/arm64/mm/proc.S | 2 + - arch/avr32/kernel/vmlinux.lds.S | 1 + - arch/blackfin/kernel/vmlinux.lds.S | 1 + - arch/c6x/kernel/vmlinux.lds.S | 1 + - arch/cris/kernel/vmlinux.lds.S | 1 + - arch/frv/kernel/vmlinux.lds.S | 1 + - arch/h8300/kernel/vmlinux.lds.S | 1 + - arch/hexagon/kernel/vmlinux.lds.S | 1 + - arch/ia64/kernel/vmlinux.lds.S | 1 + - arch/m32r/kernel/vmlinux.lds.S | 1 + - arch/m68k/kernel/vmlinux-nommu.lds | 1 + - arch/m68k/kernel/vmlinux-std.lds | 1 + - arch/m68k/kernel/vmlinux-sun3.lds | 1 + - arch/metag/kernel/vmlinux.lds.S | 1 + - arch/microblaze/kernel/vmlinux.lds.S | 1 + - arch/mips/kernel/vmlinux.lds.S | 1 + - arch/mn10300/kernel/vmlinux.lds.S | 1 + - arch/nios2/kernel/vmlinux.lds.S | 1 + - arch/openrisc/kernel/vmlinux.lds.S | 1 + - arch/parisc/kernel/vmlinux.lds.S | 1 + - arch/powerpc/kernel/vmlinux.lds.S | 1 + - arch/s390/kernel/vmlinux.lds.S | 1 + - arch/score/kernel/vmlinux.lds.S | 1 + - arch/sh/kernel/vmlinux.lds.S | 1 + - arch/sparc/kernel/vmlinux.lds.S | 1 + - arch/tile/include/asm/irq.h | 4 +- - arch/tile/kernel/entry.S | 2 +- - arch/tile/kernel/pmc.c | 3 -- - arch/tile/kernel/process.c | 72 ++++++++---------------------------- - arch/tile/kernel/traps.c | 7 +++- - arch/tile/kernel/vmlinux.lds.S | 1 + - arch/um/kernel/dyn.lds.S | 1 + - arch/um/kernel/uml.lds.S | 1 + - arch/unicore32/kernel/vmlinux.lds.S | 1 + - arch/x86/include/asm/irq.h | 4 +- - arch/x86/kernel/apic/hw_nmi.c | 6 +-- - arch/x86/kernel/process.c | 4 +- - arch/x86/kernel/vmlinux.lds.S | 1 + - include/asm-generic/vmlinux.lds.h | 6 +++ - include/linux/cpu.h | 5 +++ - include/linux/nmi.h | 63 ++++++++++++++++++++++++------- - kernel/sched/idle.c | 13 ++++++- - lib/nmi_backtrace.c | 40 +++++++++++++------- - scripts/mod/modpost.c | 4 +- - scripts/recordmcount.c | 1 + - scripts/recordmcount.pl | 1 + - 52 files changed, 172 insertions(+), 115 deletions(-) - --- -2.7.2 diff --git a/a/content_digest b/N1/content_digest index ff659b0..74fdf2d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -16,100 +16,5 @@ "Cc\0Chris Metcalf <cmetcalf@mellanox.com>\0" "\00:1\0" "b\0" - "From the version 1 cover letter:\n" - "\n" - " This patch series modifies the trigger_xxx_backtrace() NMI-based\n" - " remote backtracing code to make it more flexible, and makes a few\n" - " small improvements along the way.\n" - "\n" - " The motivation comes from the task isolation code, where there are\n" - " scenarios where we want to be able to diagnose a case where some cpu\n" - " is about to interrupt a task-isolated cpu. It can be helpful to\n" - " see both where the interrupting cpu is, and also an approximation\n" - " of where the cpu that is being interrupted is. The nmi_backtrace\n" - " framework allows us to discover the stack of the interrupted cpu.\n" - "\n" - "Version 2 of the patch series adopts the CPUIDLE_TEXT approach that I\n" - "suggested in some discussion around identifying idle cpus, and that\n" - "Peter Zijlstra endorsed. I renumbered the patches to put the idle-test\n" - "patch last in the series (4/4) and it is the only one modified in this\n" - "version of the patch series. (To be fair I did also change all the\n" - "S-O-B and author lines to be mellanox.com instead of ezchip.com).\n" - "\n" - "I've tested that the change works as desired on tile, and build-tested\n" - "x86, arm64, and arm. For x86 and arm64 I confirmed that the generic\n" - "cpuidle stuff as well as the architecture-specific routines are in the\n" - "new cpuidle section. For arm I just build-tested it and made sure the\n" - "generic cpuidle routines were in the new cpuidle section, but I didn't\n" - "attempt to tease apart the tangle of platform-specific idle routines\n" - "that arm has and tag them with __cpuidle. That might be more usefully\n" - "done by someone with arm platform experience in a follow-up patch.\n" - "\n" - "v1 of the series is here:\n" - "\n" - "https://lkml.kernel.org/r/1456782024-7122-1-git-send-email-cmetcalf@ezchip.com\n" - "\n" - "Chris Metcalf (4):\n" - " nmi_backtrace: add more trigger_*_cpu_backtrace() methods\n" - " nmi_backtrace: do a local dump_stack() instead of a self-NMI\n" - " arch/tile: adopt the new nmi_backtrace framework\n" - " nmi_backtrace: generate one-line reports for idle cpus\n" - "\n" - " arch/alpha/kernel/vmlinux.lds.S | 1 +\n" - " arch/arc/kernel/vmlinux.lds.S | 1 +\n" - " arch/arm/include/asm/irq.h | 4 +-\n" - " arch/arm/kernel/smp.c | 13 +------\n" - " arch/arm/kernel/vmlinux.lds.S | 1 +\n" - " arch/arm64/kernel/vmlinux.lds.S | 1 +\n" - " arch/arm64/mm/proc.S | 2 +\n" - " arch/avr32/kernel/vmlinux.lds.S | 1 +\n" - " arch/blackfin/kernel/vmlinux.lds.S | 1 +\n" - " arch/c6x/kernel/vmlinux.lds.S | 1 +\n" - " arch/cris/kernel/vmlinux.lds.S | 1 +\n" - " arch/frv/kernel/vmlinux.lds.S | 1 +\n" - " arch/h8300/kernel/vmlinux.lds.S | 1 +\n" - " arch/hexagon/kernel/vmlinux.lds.S | 1 +\n" - " arch/ia64/kernel/vmlinux.lds.S | 1 +\n" - " arch/m32r/kernel/vmlinux.lds.S | 1 +\n" - " arch/m68k/kernel/vmlinux-nommu.lds | 1 +\n" - " arch/m68k/kernel/vmlinux-std.lds | 1 +\n" - " arch/m68k/kernel/vmlinux-sun3.lds | 1 +\n" - " arch/metag/kernel/vmlinux.lds.S | 1 +\n" - " arch/microblaze/kernel/vmlinux.lds.S | 1 +\n" - " arch/mips/kernel/vmlinux.lds.S | 1 +\n" - " arch/mn10300/kernel/vmlinux.lds.S | 1 +\n" - " arch/nios2/kernel/vmlinux.lds.S | 1 +\n" - " arch/openrisc/kernel/vmlinux.lds.S | 1 +\n" - " arch/parisc/kernel/vmlinux.lds.S | 1 +\n" - " arch/powerpc/kernel/vmlinux.lds.S | 1 +\n" - " arch/s390/kernel/vmlinux.lds.S | 1 +\n" - " arch/score/kernel/vmlinux.lds.S | 1 +\n" - " arch/sh/kernel/vmlinux.lds.S | 1 +\n" - " arch/sparc/kernel/vmlinux.lds.S | 1 +\n" - " arch/tile/include/asm/irq.h | 4 +-\n" - " arch/tile/kernel/entry.S | 2 +-\n" - " arch/tile/kernel/pmc.c | 3 --\n" - " arch/tile/kernel/process.c | 72 ++++++++----------------------------\n" - " arch/tile/kernel/traps.c | 7 +++-\n" - " arch/tile/kernel/vmlinux.lds.S | 1 +\n" - " arch/um/kernel/dyn.lds.S | 1 +\n" - " arch/um/kernel/uml.lds.S | 1 +\n" - " arch/unicore32/kernel/vmlinux.lds.S | 1 +\n" - " arch/x86/include/asm/irq.h | 4 +-\n" - " arch/x86/kernel/apic/hw_nmi.c | 6 +--\n" - " arch/x86/kernel/process.c | 4 +-\n" - " arch/x86/kernel/vmlinux.lds.S | 1 +\n" - " include/asm-generic/vmlinux.lds.h | 6 +++\n" - " include/linux/cpu.h | 5 +++\n" - " include/linux/nmi.h | 63 ++++++++++++++++++++++++-------\n" - " kernel/sched/idle.c | 13 ++++++-\n" - " lib/nmi_backtrace.c | 40 +++++++++++++-------\n" - " scripts/mod/modpost.c | 4 +-\n" - " scripts/recordmcount.c | 1 +\n" - " scripts/recordmcount.pl | 1 +\n" - " 52 files changed, 172 insertions(+), 115 deletions(-)\n" - "\n" - "-- \n" - 2.7.2 -b21fe8ba10a23f8c90883c763e4ed76b4f3a18d66b7199fdf92ab951639b06bf +79a048720ccbbe60f4f69bf19a7790ec331480764cf077791be4109245c26b6a
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox