android_kernel_xiaomi_sm8350/arch/ppc/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 [PATCH] ppc: Make ARCH=ppc build again with new syscall path 2006-01-09 14:50:55 +11:00
cpu_setup_6xx.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
cpu_setup_power4.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
dma-mapping.c [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
entry.S [PATCH] ppc: Make ARCH=ppc build again with new syscall path 2006-01-09 14:50:55 +11:00
head_4xx.S [PATCH] ppc32: replace use of _GLOBAL with .globl for ppc32 2005-10-20 09:43:34 +10:00
head_8xx.S powerpc: merge idle_power4.S and trapc.s 2005-10-01 18:43:42 +10:00
head_44x.S [PATCH] ppc32: Allow ERPN for early serial to depend on CPU type 2005-11-07 07:53:26 -08:00
head_booke.h [PATCH] ppc32: fix ppc44x fpu build 2005-11-10 11:24:06 +11:00
head_fsl_booke.S [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
head.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
idle_6xx.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
idle_power4.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
idle.c [PATCH] arch/ppc/kernel/idle.c: don't declare cpu variable in non-SMP kernels 2006-01-06 08:33:30 -08:00
l2cr.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
machine_kexec.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
Makefile [PATCH] powerpc: Merge kexec 2006-01-09 14:48:52 +11:00
misc.S [PATCH] ppc: Make ARCH=ppc build again with new syscall path 2006-01-09 14:50:55 +11:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.c [PATCH] PCI: pci_find_device remove (ppc/kernel/pci.c) 2006-01-09 12:13:14 -08:00
perfmon_fsl_booke.c [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] 2005-10-20 16:22:24 +10:00
ppc_htab.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_ksyms.c [PATCH] spufs: The SPU file system, base 2006-01-09 14:49:12 +11:00
ppc-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c [PATCH] ppc: fix floating point register corruption 2005-11-29 19:47:03 -08:00
relocate_kernel.S [PATCH] ppc32: use correct register names in arch/ppc/kernel/relocate_kernel.S 2005-06-30 08:45:09 -07:00
rio.c [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] powerpc: Unify udbg (#2) 2006-01-09 14:49:54 +11:00
smp-tbsync.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c [PATCH] ppc32: set smp_tb_synchronized on UP with SMP kernel 2005-12-12 14:26:39 +11:00
softemu8xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
swsusp.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
temp.c [PATCH] ppc32: remove use of asm/segment.h 2005-09-13 08:22:28 -07:00
time.c Merge ../linux-2.6 by hand 2005-10-31 13:37:12 +11:00
traps.c [PATCH] ppc: Fix ARCH=ppc build with xmon 2005-11-08 11:19:48 +11:00
vmlinux.lds.S [PATCH] powerpc: Remove section free() and linker script bits 2005-09-19 09:38:49 +10:00