Roel Kluin
e2f17d9459
hugetlb: chg cannot become less than 0
...
chg is unsigned, so it cannot be less than 0.
Also, since region_chg returns long, let vma_needs_reservation() forward
this to alloc_huge_page(). Store it as long as well. all callers cast it
to long anyway.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Adam Litke <agl@us.ibm.com>
Cc: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:13 -07:00
..
2009-03-30 22:05:16 +10:30
2009-03-26 11:01:33 +01:00
2009-03-01 16:06:56 +09:00
2008-12-29 08:29:52 +01:00
2008-04-28 08:58:20 -07:00
2009-01-14 14:15:18 +01:00
2008-12-29 11:27:46 +02:00
2009-03-02 11:06:49 +01:00
2009-03-02 11:06:49 +01:00
2009-02-10 10:48:42 -08:00
2009-03-15 21:01:21 -04:00
2009-04-01 08:59:13 -07:00
2009-01-06 15:59:08 -08:00
2009-01-06 15:59:14 -08:00
2008-04-17 20:05:39 +02:00
2009-01-14 14:15:24 +01:00
2009-02-20 16:29:08 +09:00
2009-01-29 18:04:44 -08:00
2009-01-06 15:59:01 -08:00
2009-04-01 08:59:12 -07:00
2009-01-14 14:15:30 +01:00
2007-10-20 01:27:18 +02:00
2009-02-11 14:25:34 -08:00
2009-01-14 14:15:24 +01:00
2009-02-17 14:27:39 -08:00
2008-08-20 15:40:30 -07:00
2009-03-24 10:52:46 +11:00
2008-07-28 16:30:21 -07:00
2008-09-13 14:41:52 -07:00
2009-02-10 10:48:42 -08:00
2009-01-14 14:15:23 +01:00
2009-01-14 14:15:23 +01:00
2009-01-27 16:42:03 +10:00
2009-04-01 08:59:11 -07:00
2009-04-01 08:59:11 -07:00
2009-02-11 14:25:35 -08:00
2009-02-18 10:32:00 +01:00
2008-11-06 15:41:19 -08:00
2009-04-01 08:59:12 -07:00
2008-06-12 18:05:41 -07:00
2009-03-30 22:05:11 +10:30
2009-03-10 16:27:48 +09:00
2007-10-20 01:27:18 +02:00
2008-09-02 19:21:38 -07:00
2009-03-26 11:01:33 +01:00
2009-02-11 14:25:35 -08:00
2008-07-26 20:53:14 -04:00
2009-03-24 10:52:46 +11:00
2009-03-30 17:17:35 -07:00
2009-03-30 17:17:35 -07:00
2009-03-30 17:17:35 -07:00
2008-11-06 15:41:19 -08:00
2009-04-01 08:59:11 -07:00
2009-01-08 08:31:05 -08:00
2009-04-01 08:59:13 -07:00
2009-02-21 14:17:17 -08:00
2007-05-11 08:29:32 -07:00
2008-10-20 08:52:31 -07:00
2009-02-20 17:57:48 -08:00
2009-04-01 08:59:11 -07:00
2009-04-01 08:59:13 -07:00
2009-04-01 08:59:11 -07:00