Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1422788
| From | Anshuman Khandual <khandual@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages() |
| Date | 2016-06-15 10:50 +0200 |
| Message-ID | <rKeGl-ez-1@gated-at.bofh.it> (permalink) |
| References | <rKcXT-7xD-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages() Ganesh Mahendran <opensource.ganesh@gmail.com> - 2016-06-15 09:00 +0200 Re: [PATCH] mm/compaction: remove unnecessary order check in try_to_compact_pages() Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-06-15 10:50 +0200
csiph-web