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 <deller@gmx.de >
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 <dave.anglin@bell.net >
Signed-off-by: Helge Deller <deller@gmx.de >
2013-05-07 22:30:35 +02:00
Al Viro
910cdc553a
kill stray kernel_thread() garbage
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
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 <oleg@redhat.com >
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com >
Link: http://lkml.kernel.org/r/1336692811-30576-1-git-send-email-suresh.b.siddha@intel.com
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: David Howells <dhowells@redhat.com >
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Paul Mundt <lethal@linux-sh.org >
Cc: Chris Zankel <chris@zankel.net >
Cc: Richard Henderson <rth@twiddle.net >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Haavard Skinnemoen <hskinnemoen@gmail.com >
Cc: Mike Frysinger <vapier@gentoo.org >
Cc: Mark Salter <msalter@redhat.com >
Cc: Aurelien Jacquiot <a-jacquiot@ti.com >
Cc: Mikael Starvik <starvik@axis.com >
Cc: Yoshinori Sato <ysato@users.sourceforge.jp >
Cc: Richard Kuo <rkuo@codeaurora.org >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: Jonas Bonn <jonas@southpole.se >
Cc: James E.J. Bottomley <jejb@parisc-linux.org >
Cc: Helge Deller <deller@gmx.de >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Chen Liqin <liqin.chen@sunplusct.com >
Cc: Lennox Wu <lennox.wu@gmail.com >
Cc: David S. Miller <davem@davemloft.net >
Cc: Chris Metcalf <cmetcalf@tilera.com >
Cc: Jeff Dike <jdike@addtoit.com >
Cc: Richard Weinberger <richard@nod.at >
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn >
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com >
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 <dhowells@redhat.com >
cc: linux-parisc@vger.kernel.org
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 <minipli@googlemail.com >
Cc: Kyle McMartin <kyle@mcmartin.ca >
Cc: Helge Deller <deller@gmx.de >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
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 <kyle@mcmartin.ca >
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 <deller@gmx.de >
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca >
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