diff options
author | 2018-04-13 15:35:59 -0700 | |
---|---|---|
committer | 2018-04-13 17:10:27 -0700 | |
commit | 8d5f894a3108ac7c362f524aace01266cb237a7d (patch) | |
tree | 2d1dd1e0d90515ce29c2c381e66fe3c628313de7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86: kexec_file: remove X86_64 dependency from prepare_elf64_headers() (diff) | |
download | linux-dev-8d5f894a3108ac7c362f524aace01266cb237a7d.tar.xz linux-dev-8d5f894a3108ac7c362f524aace01266cb237a7d.zip |
x86: kexec_file: lift CRASH_MAX_RANGES limit on crash_mem buffer
While CRASH_MAX_RANGES (== 16) seems to be good enough, fixed-number
array is not a good idea in general.
In this patch, size of crash_mem buffer is calculated as before and the
buffer is now dynamically allocated. This change also allows removing
crash_elf_data structure.
Link: http://lkml.kernel.org/r/20180306102303.9063-6-takahiro.akashi@linaro.org
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Dave Young <dyoung@redhat.com>
Tested-by: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Baoquan He <bhe@redhat.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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions