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
..
2009-08-03 09:05:00 +01:00
2009-12-12 13:08:14 +01:00
2008-10-10 16:32:29 +00:00
2013-05-24 22:35:36 +02:00
2013-05-06 23:10:04 +02:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-06-05 14:10:17 +09:00
2008-10-10 16:32:29 +00:00
2010-10-21 21:20:09 -04:00
2013-04-25 22:36:31 +02:00
2009-01-05 19:11:05 +00:00
2012-04-02 14:41:26 -07:00
2008-10-10 16:32:29 +00:00
2013-02-20 22:56:50 +01:00
2008-10-10 16:32:29 +00:00
2012-03-28 18:30:02 +01:00
2013-05-06 22:29:09 +02:00
2012-03-28 18:30:02 +01:00
2008-10-10 16:32:29 +00:00
2011-03-31 11:26:23 -03:00
2013-02-20 22:55:26 +01:00
2008-10-10 16:32:29 +00:00
2009-09-27 23:27:04 -04:00
2013-02-20 22:50:26 +01:00
2009-12-16 03:48:54 +00:00
2012-02-27 09:35:08 -06:00
2008-10-10 16:32:29 +00:00
2013-05-24 23:29:01 +02:00
2012-05-10 15:12:08 -07:00
2008-10-20 14:40:31 -07:00
2009-03-13 01:20:48 -04:00
2011-02-10 10:22:14 -06:00
2010-10-07 14:08:55 +01:00
2012-05-08 14:19:41 -07:00
2012-11-13 15:48:27 -05:00
2009-06-16 19:47:51 -07:00
2012-03-28 18:30:02 +01:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2011-07-26 16:49:47 -07:00
2008-10-10 16:32:29 +00:00
2013-06-01 14:28:35 +02:00
2012-09-28 14:31:03 +09:30
2013-02-20 22:49:19 +01:00
2008-11-26 22:22:41 +00:00
2013-01-03 15:57:13 -08:00
2012-02-23 20:19:04 -07:00
2008-10-10 16:32:29 +00:00
2012-10-16 21:28:05 +01:00
2008-10-10 16:32:29 +00:00
2010-10-18 19:58:50 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2013-04-25 22:37:00 +02:00
2012-05-16 13:15:21 +01:00
2013-05-24 23:29:01 +02:00
2012-03-28 18:30:02 +01:00
2012-10-16 21:28:05 +01:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2010-08-07 18:15:50 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2013-02-23 18:50:11 -08:00
2012-05-25 12:35:45 +01:00
2012-03-28 18:30:02 +01:00
2009-12-14 23:55:32 +01:00
2012-05-10 15:12:08 -07:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2012-03-28 18:30:02 +01:00
2009-09-27 23:07:23 -04:00
2012-10-16 21:28:05 +01:00
2013-05-07 21:34:07 +02:00
2012-03-28 18:30:02 +01:00
2009-07-27 12:10:38 -07:00
2013-05-07 23:44:04 +02:00
2008-10-10 16:32:29 +00:00
2013-04-25 22:36:42 +02:00
2008-10-10 16:32:29 +00:00
2008-10-10 16:32:29 +00:00
2013-03-03 22:55:19 -05:00
2008-10-10 16:32:30 +00:00