[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1509211602470.27715@chino.kir.corp.google.com>
Date: Mon, 21 Sep 2015 16:03:15 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Yaowei Bai <bywxiaobai@....com>
cc: akpm@...ux-foundation.org, mgorman@...e.de, mhocko@...nel.org,
hannes@...xchg.org, vdavydov@...allels.com, oleg@...hat.com,
vbabka@...e.cz, iamjoonsoo.kim@....com, zhangyanfei@...fujitsu.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper
function
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@....com>
Acked-by: David Rientjes <rientjes@...gle.com>
Thanks for doing these cleanups!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists