[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211008111527.438276127@infradead.org>
Date: Fri, 08 Oct 2021 13:15:27 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: keescook@...omium.org, jannh@...gle.com
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org,
vcaputo@...garu.com, mingo@...hat.com, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, akpm@...ux-foundation.org,
christian.brauner@...ntu.com, amistry@...gle.com,
Kenta.Tada@...y.com, legion@...nel.org,
michael.weiss@...ec.fraunhofer.de, mhocko@...e.com, deller@....de,
zhengqi.arch@...edance.com, me@...in.cc, tycho@...ho.pizza,
tglx@...utronix.de, bp@...en8.de, hpa@...or.com,
mark.rutland@....com, axboe@...nel.dk, metze@...ba.org,
laijs@...ux.alibaba.com, luto@...nel.org,
dave.hansen@...ux.intel.com, ebiederm@...ssion.com,
ohoono.kwon@...sung.com, kaleshsingh@...gle.com,
yifeifz2@...inois.edu, jpoimboe@...hat.com,
linux-hardening@...r.kernel.org, linux-arch@...r.kernel.org,
vgupta@...nel.org, linux@...linux.org.uk, will@...nel.org,
guoren@...nel.org, bcain@...eaurora.org, monstr@...str.eu,
tsbogend@...ha.franken.de, nickhu@...estech.com,
jonas@...thpole.se, mpe@...erman.id.au, paul.walmsley@...ive.com,
hca@...ux.ibm.com, ysato@...rs.sourceforge.jp, davem@...emloft.net,
chris@...kel.net
Subject: [PATCH 0/7] wchan: Fix wchan support
Hi,
This fixes up wchan which is various degrees of broken across the
architectures.
Patch 4 fixes wchan for x86, which has been returning 0 for the past many
releases.
Patch 5 fixes the fundamental race against scheduling.
Patch 6 deletes a lot and makes STACKTRACE unconditional
patch 7 fixes up a few STACKTRACE arch oddities
0day says all builds are good, so it must be perfect :-) I'm planning on
queueing up at least the first 5 patches, but I'm hoping the last two patches
can be too.
Also available here:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wchan
---
arch/alpha/include/asm/processor.h | 2 +-
arch/alpha/kernel/process.c | 5 ++-
arch/arc/include/asm/processor.h | 2 --
arch/arc/kernel/stacktrace.c | 19 +---------
arch/arm/include/asm/processor.h | 2 --
arch/arm/kernel/process.c | 24 -------------
arch/arm64/include/asm/processor.h | 2 --
arch/arm64/kernel/process.c | 28 ---------------
arch/csky/include/asm/processor.h | 2 --
arch/csky/kernel/stacktrace.c | 26 ++++----------
arch/h8300/include/asm/processor.h | 2 +-
arch/h8300/kernel/process.c | 5 +--
arch/hexagon/include/asm/processor.h | 3 --
arch/hexagon/kernel/process.c | 28 ---------------
arch/ia64/include/asm/processor.h | 3 --
arch/ia64/kernel/process.c | 31 -----------------
arch/m68k/include/asm/processor.h | 2 +-
arch/m68k/kernel/process.c | 4 +--
arch/microblaze/include/asm/processor.h | 2 --
arch/microblaze/kernel/process.c | 6 ----
arch/mips/include/asm/processor.h | 2 --
arch/mips/kernel/process.c | 31 +----------------
arch/mips/kernel/stacktrace.c | 27 ++++++++------
arch/nds32/include/asm/processor.h | 2 --
arch/nds32/kernel/process.c | 28 ---------------
arch/nds32/kernel/stacktrace.c | 21 +++++------
arch/nios2/include/asm/processor.h | 2 +-
arch/nios2/kernel/process.c | 5 +--
arch/openrisc/include/asm/processor.h | 1 -
arch/openrisc/kernel/process.c | 6 ----
arch/parisc/include/asm/processor.h | 2 --
arch/parisc/kernel/process.c | 27 --------------
arch/powerpc/include/asm/processor.h | 2 --
arch/powerpc/kernel/process.c | 40 ---------------------
arch/riscv/include/asm/processor.h | 3 --
arch/riscv/kernel/stacktrace.c | 23 ------------
arch/s390/include/asm/processor.h | 1 -
arch/s390/kernel/process.c | 29 ---------------
arch/sh/include/asm/processor_32.h | 2 --
arch/sh/kernel/process_32.c | 22 ------------
arch/sparc/include/asm/processor_32.h | 2 +-
arch/sparc/include/asm/processor_64.h | 2 --
arch/sparc/kernel/process_32.c | 5 +--
arch/sparc/kernel/process_64.c | 31 -----------------
arch/um/include/asm/processor-generic.h | 1 -
arch/um/kernel/process.c | 35 -------------------
arch/x86/include/asm/processor.h | 2 --
arch/x86/kernel/process.c | 62 ---------------------------------
arch/xtensa/include/asm/processor.h | 2 --
arch/xtensa/kernel/process.c | 32 -----------------
fs/proc/array.c | 7 ++--
fs/proc/base.c | 19 +++++-----
include/linux/sched.h | 1 +
kernel/sched/core.c | 34 ++++++++++++++++++
lib/Kconfig.debug | 7 +---
scripts/leaking_addresses.pl | 3 +-
56 files changed, 97 insertions(+), 622 deletions(-)
Powered by blists - more mailing lists