diff options
author | Oscar Salvador <osalvador@suse.de> | 2019-05-13 17:17:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-14 09:47:46 -0700 |
commit | 39186cbe652d4f09d9494292fb77dfbc113bdf59 (patch) | |
tree | 177ae14ba170b489518f793bc54ca797aa5b56b0 /net/dns_resolver/dns_key.c | |
parent | 10eeadf3045c35fc83649ac586973eb28255add9 (diff) | |
download | linux-39186cbe652d4f09d9494292fb77dfbc113bdf59.tar.gz linux-39186cbe652d4f09d9494292fb77dfbc113bdf59.tar.bz2 linux-39186cbe652d4f09d9494292fb77dfbc113bdf59.zip |
mm,memory_hotplug: drop redundant hugepage_migration_supported check
has_unmovable_pages() already checks whether the hugetlb page supports
migration, so all non-migratable hugetlb pages should have been caught
there. Let us drop the check from scan_movable_pages() as is redundant.
Link: http://lkml.kernel.org/r/20190320152658.10855-3-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/dns_resolver/dns_key.c')
0 files changed, 0 insertions, 0 deletions