From: Yu Zhao Date: Wed, 10 Dec 2014 23:43:17 +0000 (-0800) Subject: mm: verify compound order when freeing a page X-Git-Tag: omap-for-v3.20/drop-legacy-3517~139^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab1f306fa92f4d875c8f0b9e9f90e27ca8e7b37b;p=pandora-kernel.git mm: verify compound order when freeing a page This allows us to catch the bug fixed in the previous patch (mm: free compound page with correct order). Here we also verify whether a page is tail page or not -- tail pages are supposed to be freed along with their head, not by themselves. Signed-off-by: Yu Zhao Reviewed-by: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Mel Gorman Cc: David Rientjes Cc: Bob Liu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed