Helge Deller
416821d3d6
parisc: implement irq stacks - part 2 (v2)
...
This patch fixes few build issues which were introduced with the last
irq stack patch, e.g. the combination of stack overflow check and irq
stack.
Furthermore we now do proper locking and change the irq bh handler
to use the irq stack as well.
In /proc/interrupts one now can monitor how huge the irq stack has grown
and how often it was preferred over the kernel stack.
IRQ stacks are now enabled by default just to make sure that we not
overflow the kernel stack by accident.
Signed-off-by: Helge Deller <[email protected] >
2013-05-11 21:10:15 +02:00
Helge Deller
cd85d5514d
parisc: more irq statistics in /proc/interrupts
...
Add framework and initial values for more fine grained statistics in
/proc/interrupts.
Signed-off-by: Helge Deller <[email protected] >
2013-05-07 22:39:22 +02:00
Helge Deller
200c880420
parisc: implement irq stacks
...
Default kernel stack size on parisc is 16k. During tests we found that the
kernel stack can easily grow beyond 13k, which leaves 3k left for irq
processing.
This patch adds the possibility to activate an additional stack of 16k per CPU
which is being used during irq processing. This implementation does not yet
uses this irq stack for the irq bh handler.
The assembler code for call_on_stack was heavily cleaned up by John
David Anglin.
CC: John David Anglin <[email protected] >
Signed-off-by: Helge Deller <[email protected] >
2013-05-07 22:30:35 +02:00
Al Viro
910cdc553a
kill stray kernel_thread() garbage
...
Signed-off-by: Al Viro <[email protected] >
2012-11-28 21:53:36 -05:00
Suresh Siddha
55ccf3fe3f
fork: move the real prepare_to_copy() users to arch_dup_task_struct()
...
Historical prepare_to_copy() is mostly a no-op, duplicated for majority of
the architectures and the rest following the x86 model of flushing the extended
register state like fpu there.
Remove it and use the arch_dup_task_struct() instead.
Suggested-by: Oleg Nesterov <[email protected] >
Suggested-by: Linus Torvalds <[email protected] >
Signed-off-by: Suresh Siddha <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Benjamin Herrenschmidt <[email protected] >
Cc: David Howells <[email protected] >
Cc: Koichi Yasutake <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: Richard Henderson <[email protected] >
Cc: Russell King <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Mike Frysinger <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Aurelien Jacquiot <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: James E.J. Bottomley <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: David S. Miller <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Guan Xuetao <[email protected] >
Signed-off-by: H. Peter Anvin <[email protected] >
2012-05-16 15:16:26 -07:00
David Howells
527dcdccd6
Disintegrate asm/system.h for PA-RISC
...
Disintegrate asm/system.h for PA-RISC.
Signed-off-by: David Howells <[email protected] >
cc: [email protected]
2012-03-28 18:30:02 +01:00
Mathias Krause
15ee2d000d
parisc, exec: remove redundant set_fs(USER_DS)
...
The address limit is already set in flush_old_exec() so those calls to
set_fs(USER_DS) are redundant.
Signed-off-by: Mathias Krause <[email protected] >
Cc: Kyle McMartin <[email protected] >
Cc: Helge Deller <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2012-01-12 20:13:04 -08:00
Kyle McMartin
abf1e11a0d
parisc: add task_pt_regs macro
...
needed for perf_counters.
Signed-off-by: Kyle McMartin <[email protected] >
2009-07-03 03:34:11 +00:00
Helge Deller
ef017bebd0
parisc: Replace NR_CPUS in parisc code
...
parisc: Replace most arrays sized by NR_CPUS with percpu variables.
Signed-off-by: Helge Deller <[email protected] >
Signed-off-by: Kyle McMartin <[email protected] >
2009-01-05 19:09:02 +00:00
Kyle McMartin
deae26bf6a
parisc: move include/asm-parisc to arch/parisc/include/asm
2008-10-10 16:32:29 +00:00