diff options
author | Ganesh Mahendran <opensource.ganesh@gmail.com> | 2016-07-29 00:45:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-29 01:07:41 +0200 |
commit | b2b331f966086d5741440d9140c39b7ad5ab3862 (patch) | |
tree | dcf9fbecf430a53a9d6c80c485443442df9fca3a /security/yama | |
parent | mm: fix vm-scalability regression in cgroup-aware workingset code (diff) | |
download | linux-b2b331f966086d5741440d9140c39b7ad5ab3862.tar.xz linux-b2b331f966086d5741440d9140c39b7ad5ab3862.zip |
mm/compaction: remove unnecessary order check in try_to_compact_pages()
The caller __alloc_pages_direct_compact() already checked (order == 0)
so there's no need to check again.
Link: http://lkml.kernel.org/r/1465973568-3496-1-git-send-email-opensource.ganesh@gmail.com
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions