Gavin Shan c59e26104e mm/compaction: cleanup on compaction_deferred
When CONFIG_COMPACTION is enabled, compaction_deferred() tries to
recalculate the deferred limit again, which isn't necessary.

When CONFIG_COMPACTION is disabled, compaction_deferred() should return
"true" or "false" since it has "bool" for its return value.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
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>
2012-07-31 18:42:42 -07:00
..
2012-07-17 15:11:37 -04:00
2012-07-17 19:35:59 -07:00
2012-07-26 13:56:38 -07:00
2012-07-30 12:41:17 -07:00
2012-06-06 15:20:22 -04:00
2012-07-16 15:12:15 -04:00
2012-07-26 10:23:47 -07:00
2012-07-30 17:25:21 -07:00
2012-06-29 11:38:17 -04:00
2012-06-06 19:12:30 -07:00
2012-07-30 17:25:11 -07:00
2012-07-26 11:25:33 -07:00
2012-06-27 15:42:24 -07:00
2012-07-22 23:57:58 +04:00
2012-07-30 09:32:39 -07:00
2012-07-05 15:04:10 +02:00
2012-07-02 15:11:12 +02:00
2012-07-20 11:07:00 -07:00
2012-07-18 08:59:58 -07:00
2012-07-14 16:35:40 +04:00
2012-07-09 16:42:24 -04:00
2012-07-10 10:32:06 -05:00
2012-06-20 14:39:36 -07:00
2012-07-12 07:54:46 -07:00
2012-06-15 12:56:57 +02:00
2012-07-30 17:25:20 -07:00
2012-07-22 12:39:33 -07:00
2012-07-02 13:40:06 +03:00
2012-07-16 22:31:34 -07:00
2012-06-13 21:16:42 +02:00
2012-07-30 17:25:16 -07:00
2012-07-23 00:58:46 -07:00
2012-07-24 23:19:26 -04:00
2012-07-22 23:57:55 +04:00
2012-06-18 13:42:03 +02:00
2012-07-06 20:17:46 -03:00