[PATCH] Revert "kexec: use mmap instead of read for slurp_file()"
Michael Holzheu
holzheu at linux.vnet.ibm.com
Fri Oct 23 08:09:59 PDT 2015
On Fri, 23 Oct 2015 11:10:00 +0800
Dave Young <dyoung at redhat.com> wrote:
> This reverts commit 7ab842d8a004f6cd75a9d7b3528e4a70819ce4ef.
>
> using mmap by default in slurp_file cause segment fault while later
> reallocing dtb_buf during my arm kexec test.
Sorry, I obviously missed that part.
How can we fix that:
- Create a separate function slurp_file_mmap() that is called by s390x?
- Rework xmalloc/xrealloc to always use mmap() and mremap()?
- ...
Michael
More information about the kexec
mailing list