should kernel image destination address be picked up by kernel itself?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ming Lei" <mlei at Brocade.COM> writes:

> As I understand the code, current destination address is picked up by
> either the user(elf image) or kexec-tools. It is not automatic, can we
> let linux kernel choose the address instead? It is automatic and no way
> to wipe out something important.

I don't follow.  The basic model of kexec is:

- kexec is fed a standalone executables (things that run without OS
  support)

- All of the policy decisions are made in user space (such as where to
  execute from)

- standalone executables are loaded into an address space where
  physical address and virtual address are the same.

- Sophisticated page swapping happens in the kernel where
  sys_kexec_load was called so that any valid address on the machine
  is available to the standalone executable.

What problem do you see in that model?
Why is it a problem for you?

Eric



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux