kernel-hacking-2024-linux-s.../arch/metag
James Hogan 928df02bd4 metag: SMP: Fix 4KiB stack setup on secondary CPUs
Back in early 2008, 4KiB stack support was added to reduce memory
consumption on workloads with lots of threads, using a separate IRQ
stack per CPU to alleviate stack pressure. However the SMP code added a
year and a half later didn't set up the IRQ stack when bringing up
secondary CPUs, resulting in a crash when SMP is configured with 4KiB
stacks, as soon as the first interrupt arrived on a secondary CPU.

Fix with calls to irq_ctx_exit()/irq_ctx_exit() when bringing up/down a
CPU.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
2015-09-15 22:52:47 +01:00
..
boot
configs
include Mostly this is just clean ups and micro optimizations. 2015-09-08 14:04:14 -07:00
kernel metag: SMP: Fix 4KiB stack setup on secondary CPUs 2015-09-15 22:52:47 +01:00
lib
mm mm/hugetlb: reduce arch dependent code about huge_pmd_unshare 2015-06-24 17:49:41 -07:00
oprofile
tbx
Kconfig metag: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:58:09 -04:00
Kconfig.debug
Kconfig.soc
Makefile