Zhang Yanfei
345606d429
mm/page_alloc.c: remove unlikely() from the current_order test
...
In __rmqueue_fallback(), current_order loops down from MAX_ORDER - 1 to
the order passed. MAX_ORDER is typically 11 and pageblock_order is
typically 9 on x86. Integer division truncates, so pageblock_order / 2
is 4. For the first eight iterations, it's guaranteed that
current_order >= pageblock_order / 2 if it even gets that far!
So just remove the unlikely(), it's completely bogus.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Suggested-by: David Rientjes <rientjes@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-09 10:33:22 -07:00
..
2013-07-03 16:07:41 -07:00
2012-12-11 17:22:26 -08:00
2013-07-03 16:07:39 -07:00
2013-05-08 10:13:35 -07:00
2013-04-30 17:04:01 -07:00
2013-02-23 17:50:20 -08:00
2011-12-06 09:24:07 +01:00
2012-12-11 17:22:24 -08:00
2013-03-03 22:46:22 -05:00
2012-01-03 22:54:56 -05:00
2013-04-09 14:12:56 -04:00
2013-05-01 17:51:54 -07:00
2013-03-28 17:45:51 -07:00
2013-06-12 16:29:46 -07:00
2012-12-20 08:37:05 -08:00
2013-07-04 10:29:23 -07:00
2012-12-18 15:02:15 -08:00
2013-07-03 16:07:33 -07:00
2012-07-31 18:42:43 -07:00
2011-07-26 16:49:47 -07:00
2013-02-27 19:10:09 -08:00
2012-10-09 16:22:42 +09:00
2013-07-03 16:07:26 -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
2013-02-27 19:10:24 -08:00
2013-03-08 15:05:34 -08:00
2011-10-31 09:20:12 -04:00
2013-04-29 15:54:37 -07:00
2013-04-29 15:54:38 -07:00
2013-04-29 15:54:38 -07:00
2013-07-09 10:33:21 -07:00
2013-07-03 17:12:13 -07:00
2013-07-03 16:07:31 -07:00
2013-07-03 16:07:38 -07:00
2013-03-08 15:05:34 -08:00
2012-06-25 11:53:47 +02:00
2013-06-12 16:29:46 -07:00
2013-02-23 17:50:17 -08:00
2013-03-28 17:45:51 -07:00
2013-07-03 16:07:32 -07:00
2013-07-03 16:07:26 -07:00
2013-05-07 18:38:27 -07:00
2013-06-28 14:34:33 +02:00
2013-02-23 17:50:18 -08:00
2012-12-18 15:02:15 -08:00
2013-07-09 10:33:20 -07:00
2010-05-21 18:31:21 -04:00
2013-07-03 16:07:33 -07:00
2013-07-03 16:07:38 -07:00
2013-02-23 17:50:08 -08:00
2013-07-09 10:33:22 -07:00
2012-12-12 17:38:32 -08:00
2013-07-03 16:07:26 -07:00
2013-01-04 16:11:46 -08:00
2013-04-29 15:54:33 -07:00
2013-05-24 16:22:53 -07:00
2010-10-02 10:28:42 +03:00
2012-06-20 14:39:36 -07:00
2012-12-02 06:23:04 -08:00
2013-06-20 16:55:07 +10:00
2013-03-12 11:05:45 -07:00
2011-10-31 09:20:11 -04:00
2013-05-21 23:17:23 -04:00
2013-07-03 16:07:31 -07:00
2013-07-03 14:04:58 -07:00
2013-06-13 10:01:58 +03:00
2013-05-07 08:42:20 -07:00
2013-02-01 12:32:09 +02:00
2013-02-23 17:50:18 -08:00
2013-05-07 08:42:20 -07:00
2013-04-29 15:54:35 -07:00
2013-07-04 11:40:58 -07:00
2013-06-12 16:29:45 -07:00
2013-07-03 16:07:31 -07:00
2013-07-03 16:07:32 -07:00
2013-05-27 23:32:35 -04:00
2013-02-23 17:50:17 -08:00
2013-07-09 10:33:21 -07:00
2013-04-29 15:54:38 -07:00
2013-07-03 16:07:31 -07:00
2013-04-29 15:54:38 -07:00