arch: More wchan fixes
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86: Fix __get_wchan() for !STACKTRACEarch/ | +14 | 1 reply | |
| 2/7 | stacktrace,sched: Make stack_trace_save_tsk() more robustinclude/ kernel/ kernel/ | +63 | 9 replies | |
| 3/7 | ARM: implement ARCH_STACKWALKarch/ arch/ | +20 | 1 reply | |
| 4/7 | arch: Make ARCH_STACKWALK independent of STACKTRACEarch/ arch/ arch/ +4 more | +20 | 3 replies | |
| 5/7 | powerpc, arm64: Mark __switch_to() as __schedarch/ arch/ | +4 | 2 replies | |
| 6/7 | arch: __get_wchan() || ARCH_STACKWALKarch/ arch/ arch/ +10 more | +24 | 2 replies | |
| 7/7 | selftests: proc: Make sure wchan works when it existstools/ tools/ | +70 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook | Mark Rutland |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | R-b T-b |
| 5/7 | R-b | R-b T-b |
| 6/7 | R-b | R-b T-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] arch: More wchan fixes
Hi,
Respin of the rest of the get_wchan() rework [1]. Given the many problems with STACKTRACE this series focuses on the newer ARCH_STACKWALK since that's a smaller set of architectures to review with a better specified interface.
The idea is to piece-wise convert the rest of the architectures to ARCH_STACKWALK, but that can be done at leasure.
PowerPC and ARM64 are a bit funny in that their __switch_to() is in C and ends up on the stack. For now simply mark it __sched to make it work. Mark wanted to maybe do something different, but I think this ought to get us started.