diff options
author | 2017-03-09 16:17:17 -0800 | |
---|---|---|
committer | 2017-03-09 17:01:10 -0800 | |
commit | c9a1b80daeb50e39f21fd7e62f7224f317ac85f0 (patch) | |
tree | ba7d2f2a78fafcef679688d2d059797fee7a1053 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | userfaultfd: selftest: vm: allow to build in vm/ directory (diff) | |
download | wireguard-linux-c9a1b80daeb50e39f21fd7e62f7224f317ac85f0.tar.xz wireguard-linux-c9a1b80daeb50e39f21fd7e62f7224f317ac85f0.zip |
mm/memblock.c: fix memblock_next_valid_pfn()
Obviously, we should not access memblock.memory.regions[right] if
'right' is outside of [0..memblock.memory.cnt>.
Fixes: b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible")
Link: http://lkml.kernel.org/r/20170303023745.9104-1-takahiro.akashi@linaro.org
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions