mm/mempolicy.c: remove BUG_ON() checks for VMA inside mpol_misplaced()
authorAnshuman Khandual <[email protected]>
Fri, 8 Sep 2017 23:13:32 +0000 (16:13 -0700)
committerLinus Torvalds <[email protected]>
Sat, 9 Sep 2017 01:26:47 +0000 (18:26 -0700)
commit149728e91349f269d6fc82b4ca2552645dfa7d2c
treee180a774ca09f470d2931c622f1927501874990a
parentb6b1fd2a6bedd533aeed83924d7be0e944fded9f
mm/mempolicy.c: remove BUG_ON() checks for VMA inside mpol_misplaced()

VMA and its address bounds checks are too late in this function.  They
must have been verified earlier in the page fault sequence.  Hence just
remove them.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Suggested-by: Vlastimil Babka <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/mempolicy.c