Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper function

From: David Rientjes
Date: Mon Sep 21 2015 - 19:03:21 EST


On Wed, 16 Sep 2015, Yaowei Bai wrote:

> Introduce is_via_compact_memory helper function indicating compacting
> via /proc/sys/vm/compact_memory to improve readability.
>
> To catch this situation in __compaction_suitable, use order as parameter
> directly instead of using struct compact_control.
>
> This patch has no functional changes.
>
> Signed-off-by: Yaowei Bai <bywxiaobai@xxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Thanks for doing these cleanups!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/