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