[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <576115DC.5030601@linux.vnet.ibm.com>
Date: Wed, 15 Jun 2016 14:16:20 +0530
From: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
To: Ganesh Mahendran <opensource.ganesh@...il.com>,
akpm@...ux-foundation.org, vbabka@...e.cz, iamjoonsoo.kim@....com,
mhocko@...e.com, mina86@...a86.com, minchan@...nel.org
CC: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages()
On 06/15/2016 12:22 PM, Ganesh Mahendran wrote:
> The caller __alloc_pages_direct_compact() already check (order == 0).
> So no need to check again.
Yeah, the caller (__alloc_pages_direct_compact) checks if the order of
allocation is 0. But we can remove it there and keep it in here as this
is the actual entry point for direct page compaction.
Powered by blists - more mailing lists