linux/arch/s390/kernel
Vivek Goyal cc57165874 [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers
- In case of system crash, current state of cpu registers is saved in memory
  in elf note format.  So far memory for storing elf notes was being allocated
  statically for NR_CPUS.

- This patch introduces dynamic allocation of memory for storing elf notes.
  It uses alloc_percpu() interface.  This should lead to better memory usage.

- Introduced based on Andi Kleen's and Eric W. Biederman's suggestions.

- This patch also moves memory allocation for elf notes from architecture
  dependent portion to architecture independent portion.  Now crash_notes is
  architecture independent.  The whole idea is that size of memory to be
  allocated per cpu (MAX_NOTE_BYTES) can be architecture dependent and
  allocation of this memory can be architecture independent.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-10 08:01:26 -08:00
..
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
binfmt_elf32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitmap.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_exec_domain.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_ioctl.c [PATCH] s390: 3270 fullscreen view 2005-10-30 17:37:16 -08:00
compat_linux.c [PATCH] s390: uaccess warnings 2006-01-06 08:33:49 -08:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat_signal.c [PATCH] s390: rt_sigreturn fix 2006-01-06 08:33:49 -08:00
compat_wrapper.S [PATCH] s390: ioprio & inotify system calls. 2005-08-01 21:37:59 -07:00
cpcmd.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
crash.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
debug.c [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] s390: signal delivery 2005-11-07 07:53:32 -08:00
entry64.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
head.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
head31.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
head64.S [PATCH] s390: merge common parts of head.S and head64.S 2005-11-07 07:53:34 -08:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machine_kexec.c [PATCH] s390: atomic primitives 2006-01-06 08:33:48 -08:00
Makefile [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
module.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
process.c [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
profile.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
reipl_diag.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
reipl.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reipl64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
relocate_kernel.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
relocate_kernel64.S [PATCH] s390: kexec fixes and improvements. 2005-08-01 21:37:59 -07:00
s390_ext.c [PATCH] s390: external call performance 2005-07-27 16:26:04 -07:00
s390_ksyms.c [PATCH] s390: default storage key 2005-05-01 08:58:58 -07:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
signal.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
smp.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
sys_s390.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
syscalls.S [PATCH] s390: ioprio & inotify system calls. 2005-08-01 21:37:59 -07:00
time.c [PATCH] s390: stop_hz_timer vs. xtime updates 2005-11-07 07:53:32 -08:00
traps.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
vmlinux.lds.S [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
vtime.c [PATCH] remove timer debug field 2005-10-30 17:37:18 -08:00