]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory.c: make apply_to_page_range() more robust
authorMika Penttilä <mika.penttila@nextfour.com>
Tue, 15 Mar 2016 21:56:45 +0000 (14:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit4972c9914175e95347e8b281b83144be6a1fe722
tree9bf1f9abfb604f6d98bf9b8a641a5b8d6733fc53
parent0414c599259d4c70a2bfda4f2c3d65d2ffe0b746
mm/memory.c: make apply_to_page_range() more robust

Arm and arm64 used to trigger this BUG_ON() - this has now been fixed.

But a WARN_ON() here is sufficient to catch future buggy callers.

Signed-off-by: Mika Penttilä <mika.penttila@nextfour.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c