Kirill A. Shutemov 81422f29c5 mm: more checks on free_pages_prepare() for tail pages
Although it was not called, destroy_compound_page() did some potentially
useful checks.  Let's re-introduce them in free_pages_prepare(), where
they can be actually triggered when CONFIG_DEBUG_VM=y.

compound_order() assert is already in free_pages_prepare().  We have few
checks for tail pages left.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-11 17:06:02 -08:00
..
2014-12-18 19:08:10 -08:00
2014-12-08 20:25:23 -05:00
2014-01-27 21:02:39 -08:00
2015-02-11 17:06:02 -08:00
2014-10-29 10:34:34 -04:00
2015-02-10 14:30:30 -08:00
2015-02-10 14:30:30 -08:00
2014-08-29 16:28:16 -07:00