diff options
author | Jiri Bohac <[email protected]> | 2017-06-16 18:16:02 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-22 11:10:23 +0200 |
commit | fe2d48b805d01e14ddb8144de01de43171eb516f (patch) | |
tree | bef095f9ee6090a0423ca058b78bddcb806d54b5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 28be1b454c2bb60e317b3135211a378fa2718886 (diff) |
x86/debug: Extend the lower bound of crash kernel low reservations
The following change in 2013:
0212f9159694 ("x86: Add Crash kernel low reservation")
... introduced reserve_crashkernel_low(). This function is used to
reserve crash kernel memory either if crashkernel=size,low is given
on the command line or if the region reserved by reserve_crashkernel
is entirely above 4G.
reserve_crashkernel_low() tries to find a block of 'low_size' bytes.
But there seems to be no good reason to restrict the lower bound
of the range to 'low_size'.
Make memblock_find_in_range() search from the start of memory.
Signed-off-by: Jiri Bohac <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yinghai Lu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions