Commit 66b151d3 authored by Brandon Maier's avatar Brandon Maier Committed by Simon Horman
Browse files

ARM: Use mmap for zImage initrd



We use a large initrd that maxes out our available RAM when loading
kexec. The problem can be mitigated by using slurp_file_mmap(), which
avoids creating a copy of the initrd. The initrd does not use free,
realloc, etc, so it should be safe to use.

Signed-off-by: default avatarBrandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 2572b8d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment