linux/include/asm-s390
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
..
a.out.h
atomic.h [PATCH] mutex subsystem, add atomic_xchg() to all arches 2006-01-09 15:59:17 -08:00
auxvec.h
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bug.h
bugs.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h
ccwdev.h [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
ccwgroup.h
checksum.h
cio.h
cmb.h
compat.h
cpcmd.h
cputime.h
current.h
dasd.h
debug.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
delay.h
div64.h
dma-mapping.h
dma.h
ebcdic.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
elf.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
emergency-restart.h
errno.h
extmem.h
fcntl.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h
idals.h
io.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h
kexec.h [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
kmap_types.h
linkage.h
local.h
lowcore.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
mathemu.h
mman.h [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store 2006-01-06 08:33:22 -08:00
mmu_context.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
mmu.h
module.h
msgbuf.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h
page.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
poll.h
posix_types.h
processor.h
ptrace.h [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
qdio.h [PATCH] s390: qdio V=V pass-through 2006-01-06 08:33:51 -08:00
qeth.h
resource.h
rwsem.h [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
s390_ext.h
s390_rdev.h [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
scatterlist.h
sections.h
segment.h
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h
setup.h [PATCH] s390: export ipl device parameters 2005-10-30 17:37:16 -08:00
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h [PATCH] s390 signal annotations 2005-09-29 08:46:27 -07:00
siginfo.h
signal.h [PATCH] s390 signal annotations 2005-09-29 08:46:27 -07:00
sigp.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
smp.h [PATCH] s390: "extern inline" -> "static inline" 2005-11-09 07:55:52 -08:00
socket.h
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system.h
tape390.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
todclk.h
topology.h
types.h
uaccess.h [PATCH] s390: uaccess warnings 2006-01-06 08:33:49 -08:00
ucontext.h
unaligned.h
unistd.h [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
user.h
vtoc.h [PATCH] s390: cms volume label definitions 2006-01-06 08:33:48 -08:00
xor.h