Re: [PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Vlastimil Babka
On 3.12.2015 5:10, Joonsoo Kim wrote: > This patch uses is_via_compact_memory() to distinguish compaction > from sysfs or sysctl. And, this patch also reduces indentation > on compaction_defer_reset() by filtering these cases first > before checking watermark. > > There is no functional change. >

[PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Joonsoo Kim
This patch uses is_via_compact_memory() to distinguish compaction from sysfs or sysctl. And, this patch also reduces indentation on compaction_defer_reset() by filtering these cases first before checking watermark. There is no functional change. Acked-by: Yaowei Bai Acked-by: David Rientjes

Re: [PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Vlastimil Babka
On 3.12.2015 5:10, Joonsoo Kim wrote: > This patch uses is_via_compact_memory() to distinguish compaction > from sysfs or sysctl. And, this patch also reduces indentation > on compaction_defer_reset() by filtering these cases first > before checking watermark. > > There is no functional change. >

[PATCH v3] mm/compaction: __compact_pgdat() code cleanuup

2015-12-02 Thread Joonsoo Kim
This patch uses is_via_compact_memory() to distinguish compaction from sysfs or sysctl. And, this patch also reduces indentation on compaction_defer_reset() by filtering these cases first before checking watermark. There is no functional change. Acked-by: Yaowei Bai