commit | ff9e43eb4f2eb78067d7b783cc893773b3e129b1 | [log] [tgz] |
---|---|---|
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | Wed Jun 04 16:06:57 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jun 04 16:53:57 2014 -0700 |
tree | fa4194211a8a0523d5123507556b1855644a0a01 | |
parent | 38f7ea5a082bbde9e64b7ece389f20e71a9806f4 [diff] |
thp: consolidate assert checks in __split_huge_page() It doesn't make sense to have two assert checks for each invariant: one for printing and one for BUG(). Let's trigger BUG() if we print error message. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>