thp: compound_trans_order
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:47:16 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:47 +0000 (17:32 -0800)
commit37c2ac7872a9387542616f658d20ac25f5bdb32e
treed115915db4a61e261012bf0f9c4cf14630243d71
parent91600e9e592e48736e630851c83da2ad6bf0e91f
thp: compound_trans_order

Read compound_trans_order safe. Noop for CONFIG_TRANSPARENT_HUGEPAGE=n.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memcontrol.c
mm/memory-failure.c