summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorJianguo Wu <wujianguo@huawei.com>2014-01-24 00:53:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:36:52 +0100
commitc980e66a556659f14da2294e1fc696e1352b5d00 (patch)
treed2c62f1c4bdb636abdba27e0258399eb21a9e1a2 /mm/migrate.c
parentinclude/linux/genalloc.h: spinlock_t needs spinlock_types.h (diff)
downloadlinux-c980e66a556659f14da2294e1fc696e1352b5d00.tar.xz
linux-c980e66a556659f14da2294e1fc696e1352b5d00.zip
mm: do_mincore() cleanup
Two cleanups: 1. remove redundant codes for hugetlb pages. 2. end = pmd_addr_end(addr, end) restricts [addr, end) within PMD_SIZE, this may increase do_mincore() calls, remove it. Signed-off-by: Jianguo Wu <wujianguo@huawei.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Minchan Kim <minchan.kim@gmail.com> Cc: qiuxishi <qiuxishi@huawei.com> Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions