Skip to content

arm64: move thread_info off of the task stack

Mark Rutland linux-arm-kernel 1 version New

Get series with b4
b4 am 20161025100550.GB8898@leverpostej

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] arm64: move thread_info off of the task stack
Quoted 8 lines · Kees Cook
Quoted 5 lines · Mark Rutland
Quoted 2 lines · Mark Rutland

It's really crazy how broken a kernel can be yet still "work"; clearly we better tests are needed. :/

Clearly we better grammar need too. :(

Out of curiosity, what workflow would have tripped over the entry.S bug?

There are two bugs:

The issues in [1] would show up if you were attempting to use breakpoints or watchpoints -- we'd never disable the single step.

The broken 're-entered irq stack' check [2] would be an issue if we were close to exhausting the stack -- we'd never switch to the IRQ stack when we take an IRQ in a kernel context. I'm not sure of a particular workload.

Thanks,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/462932.html
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/462891.html