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
..
2006-01-09 14:50:32 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:59:17 -08:00
2005-11-11 22:25:39 +11:00
2006-01-03 13:11:06 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:54 +11:00
2006-01-09 15:13:08 +11:00
2006-01-08 20:13:39 -08:00
2005-11-10 13:09:22 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 16:02:52 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 10:03:44 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:35:06 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:52:17 +11:00
2006-01-09 15:13:08 +11:00
2005-11-10 13:10:38 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:14:05 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-09 16:19:53 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-08 12:20:34 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-03 16:58:17 +11:00
2006-01-09 14:48:57 +11:00
2005-11-11 22:19:56 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:52:21 +11:00
2006-01-10 08:01:26 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:44:32 +11:00
2006-01-09 15:13:08 +11:00
2006-01-06 08:33:22 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:59:19 -08:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:14:05 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:52:14 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:51:08 +11:00
2006-01-09 15:13:08 +11:00
2005-11-19 20:17:32 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:47:18 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:53:55 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:01 +11:00
2005-11-10 13:09:22 +11:00
2006-01-09 15:44:32 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:14:05 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:50 +11:00
2005-11-03 16:24:25 +11:00
2006-01-09 15:13:08 +11:00
2005-11-07 13:18:13 +11:00
2006-01-10 00:10:13 +01:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:44:57 +11:00
2005-11-03 16:02:23 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 15:13:08 +11:00
2006-01-09 14:49:01 +11:00
2006-01-09 15:13:08 +11:00
2005-11-06 16:56:47 -08:00
2006-01-09 15:13:08 +11:00
2005-11-10 13:10:38 +11:00
2005-11-03 16:59:17 +11:00
2006-01-09 15:33:50 +11:00
2006-01-09 14:49:34 +11:00
2006-01-09 15:13:08 +11:00
2005-11-16 14:05:11 +11:00
2006-01-09 15:13:08 +11:00
2005-11-08 22:55:08 +11:00