diff options
author | Mel Gorman <mgorman@suse.de> | 2014-10-09 15:28:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:25:58 -0400 |
commit | 97ee4ba7cbd30f1858f0d16911e042737c53f2ef (patch) | |
tree | ac1ebf4b9622c2ae3cdd3010945c73b8147761e3 /mm/zbud.c | |
parent | b246d3d11e9c04f76a4fd6aae9c61da82bba0afb (diff) | |
download | op-kernel-dev-97ee4ba7cbd30f1858f0d16911e042737c53f2ef.zip op-kernel-dev-97ee4ba7cbd30f1858f0d16911e042737c53f2ef.tar.gz |
mm: page_alloc: Make paranoid check in move_freepages a VM_BUG_ON
Since 2.6.24 there has been a paranoid check in move_freepages that looks
up the zone of two pages. This is a very slow path and the only time I've
seen this bug trigger recently is when memory initialisation was broken
during patch development. Despite the fact it's a slow path, this patch
converts the check to a VM_BUG_ON anyway as it has served its purpose by
now.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions