lkml.org 
[lkml]   [2014]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 06/11] kexec: A new system call, kexec_file_load, for in kernel kexec
    On Mon, Feb 24, 2014 at 11:41:31AM -0500, Vivek Goyal wrote:
    > Right now there is only one user. But once other image loader support
    > comes along or other arches support file based kexec, they can make
    > use of same function.
    >
    > This is a pretty important modification as it decides what's the starting
    > point of next kernel image. I wanted to make it a function callable by
    > users who wanted to modify it instead of of letting them directly
    > modify image->start.

    But are you expecting any other way to set image->start by the other
    arches/image loaders?

    > Could be. I am trying to reuse exisitng code. In current code, user space
    > passes a list of segments and then kernel calls this function to make sure
    > all the segments passed in make sense.
    >
    > Here also arch dependent part of kernel is preparing a list of segments
    > wanted and then generic code is reusing the existing function to make
    > sure segment list is sane. I like code reuse part of it.

    Right, ok, this was just an idea. Maybe not worth it.

    Thanks.

    --
    Regards/Gruss,
    Boris.

    Sent from a fat crate under my desk. Formatting is fine.
    --


    \
     
     \ /
      Last update: 2014-02-26 18:01    [W:2.954 / U:0.684 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site