Thread (3 messages) read the whole thread 3 messages, 3 authors, 2012-06-14

Re: [PATCH] mm/compaction: cleanup on compaction_deferred

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2012-06-14 08:50:39

On Thu, Jun 14, 2012 at 09:19:13AM +0800, Gavin Shan wrote:
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 <redacted>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help