[PATCH 3.18 116/185] mm/ksm: fix interaction with THP