[PATCH] Revert "kexec: use mmap instead of read for slurp_file()"

Geoff Levand geoff at infradead.org
Mon Nov 2 16:11:39 PST 2015


Hi,

On Fri, 2015-10-23 at 11:10 +0800, Dave Young 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.

Could you say more about the cause of the segfault?  Where is the dtb
reallocated?

-Geoff



More information about the kexec mailing list