thp: cleanup: introduce mk_huge_pmd()
authorBob Liu <lliubbo@gmail.com>
Wed, 12 Dec 2012 00:00:41 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:22 +0000 (17:22 -0800)
commitb3092b3b734f146d96ca023a75cacf78078f96d5
tree56dcf17fe72ff95b5769f76265684d427a389b96
parentfa475e517adb422cb3492e636195f9b2c0d009c8
thp: cleanup: introduce mk_huge_pmd()

Introduce mk_huge_pmd() to simplify the code

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ni zhan Chen <nizhan.chen@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c