From: Naoya Horiguchi Date: Thu, 29 Nov 2012 21:54:34 +0000 (-0800) Subject: mm: soft offline: split thp at the beginning of soft_offline_page() X-Git-Tag: v3.7-rc8~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783657a7dc20e5c0efbc9a09a9dd38e238a723da;p=pandora-kernel.git mm: soft offline: split thp at the beginning of soft_offline_page() When we try to soft-offline a thp tail page, put_page() is called on the tail page unthinkingly and VM_BUG_ON is triggered in put_compound_page(). This patch splits thp before going into the main body of soft-offlining. Signed-off-by: Naoya Horiguchi Cc: Andi Kleen Cc: Tony Luck Cc: Andi Kleen Cc: Wu Fengguang Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed