linux/arch/parisc
Helge Deller ae249b5fa2 parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50
With CONFIG_DISCONTIGMEM=y and multiple physical memory areas,
cat /proc/kpageflags triggers this kernel bug:

kernel BUG at arch/parisc/include/asm/mmzone.h:50!
CPU: 2 PID: 7848 Comm: cat Tainted: G      D W 3.10.0-rc3-64bit #44
 IAOQ[0]: kpageflags_read0x128/0x238
 IAOQ[1]: kpageflags_read0x12c/0x238
 RP(r2): proc_reg_read0xbc/0x130
Backtrace:
 [<00000000402ca2d4>] proc_reg_read0xbc/0x130
 [<0000000040235bcc>] vfs_read0xc4/0x1d0
 [<0000000040235f0c>] SyS_read0x94/0xf0
 [<0000000040105fc0>] syscall_exit0x0/0x14

kpageflags_read() walks through the whole memory, even if some memory
areas are physically not available. So, we should better not BUG on an
unavailable pfn in pfn_to_nid() but just return the expected value -1 or
0.

Signed-off-by: Helge Deller <deller@gmx.de>
2013-06-01 14:28:35 +02:00
..
configs
hpux [PARISC] hpux: Remove obsolete regs parameter from do_execve() in hpux_execve() 2013-01-30 13:26:57 +11:00
include parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50 2013-06-01 14:28:35 +02:00
kernel parisc: memory overflow, 'name' length is too short for using 2013-06-01 14:27:56 +02:00
lib parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds. 2013-04-25 22:36:15 +02:00
math-emu parisc: avoid undefined shift in cnv_float.h 2013-01-07 23:06:22 +01:00
mm parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
oprofile
defpalo.conf
install.sh
Kconfig parisc: implement irq stacks - part 2 (v2) 2013-05-11 21:10:15 +02:00
Kconfig.debug parisc: add kernel stack overflow check 2013-05-07 21:34:07 +02:00
Makefile parisc: make default cross compiler search more robust (v3) 2013-05-13 22:11:57 +02:00
nm