Thread (3 messages) 3 messages, 3 authors, 2016-06-24

Re: [PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages()

From: Anshuman Khandual <hidden>
Date: 2016-06-15 08:46:46
Also in: lkml

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.

--
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