Gavin Shan
db36a46113
mm/sparse: more checks on mem_section number
...
__section_nr() was implemented to retrieve the corresponding memory
section number according to its descriptor. It's possible that the
specified memory section descriptor doesn't exist in the global array. So
add more checking on that and report an error for a wrong case.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-31 18:42:49 -07:00
..
2012-07-31 18:42:40 -07:00
2012-07-17 16:21:29 -07:00
2012-07-18 16:40:35 -04:00
2012-05-29 23:28:33 -04:00
2012-07-31 18:42:43 -07:00
2011-12-06 09:24:07 +01:00
2011-10-31 09:20:12 -04:00
2012-07-31 18:42:42 -07:00
2012-01-03 22:54:56 -05:00
2012-06-01 12:07:25 -04:00
2012-06-01 10:34:35 -07:00
2011-10-31 09:20:11 -04:00
2012-07-23 11:16:20 -04:00
2012-07-31 18:42:47 -07:00
2012-05-29 16:22:28 -07:00
2012-07-31 18:42:41 -07:00
2012-07-31 18:42:41 -07:00
2012-07-31 18:42:43 -07:00
2011-07-26 16:49:47 -07:00
2012-07-31 18:42:46 -07:00
2012-07-31 18:42:45 -07:00
2012-01-10 16:30:42 -08:00
2010-03-30 22:02:32 +09:00
2011-01-27 18:31:51 +00:00
2012-01-20 16:57:05 +00:00
2012-03-21 17:54:59 -07:00
2011-10-31 09:20:12 -04:00
2012-07-06 10:34:38 -07:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:41 -07:00
2012-07-31 18:42:49 -07:00
2012-07-31 18:42:44 -07:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:43 -07:00
2012-07-30 11:32:24 -07:00
2012-01-10 16:30:45 -08:00
2012-07-31 18:42:48 -07:00
2012-03-21 17:54:54 -07:00
2012-03-06 18:23:36 -08:00
2011-10-31 09:20:12 -04:00
2012-07-31 18:42:39 -07:00
2012-03-21 17:54:59 -07:00
2012-07-31 18:42:49 -07:00
2012-07-31 18:42:43 -07:00
2012-03-22 09:04:48 -07:00
2012-07-31 18:42:39 -07:00
2010-05-21 18:31:21 -04:00
2012-07-11 16:04:50 -07:00
2012-06-04 17:17:31 -04:00
2012-07-31 18:42:45 -07:00
2012-07-31 18:42:46 -07:00
2012-07-31 18:42:43 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:42:45 -07:00
2012-06-09 19:54:47 +08:00
2012-06-20 14:39:36 -07:00
2010-10-02 10:28:42 +03:00
2012-06-20 14:39:36 -07:00
2012-05-09 10:13:29 -07:00
2012-05-25 12:48:21 -04:00
2011-05-20 12:50:29 -07:00
2012-05-31 17:49:32 -07:00
2011-10-31 09:20:11 -04:00
2012-05-29 16:22:23 -07:00
2012-05-29 16:22:19 -07:00
2012-07-14 16:34:47 +04:00
2012-07-30 13:15:40 +03:00
2012-07-31 18:42:46 -07:00
2012-07-09 12:13:41 +03:00
2012-07-12 10:13:22 +03:00
2012-07-31 18:42:45 -07:00
2011-10-31 09:20:11 -04:00
2012-07-31 18:42:49 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 18:42:48 -07:00
2012-05-29 16:22:23 -07:00
2012-06-01 10:37:18 -04:00
2012-07-31 18:42:39 -07:00
2012-07-31 18:42:49 -07:00
2012-07-31 18:42:46 -07:00