[lkml]   [2007]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] kdump/kexec: calculate note size at compile time
    On Wed, Mar 28, 2007 at 04:13:20PM +0900, Horms wrote:
    > DESC is probably a better name that BODY here, I meant to update
    > that before posting. An updated version is below.
    > > > +#define KEXEC_NOTE_BYTES ( (KEXEC_NOTE_HEAD_BYTES * 2) + \
    > >
    > > Why are we multiplying KEXEC_NOTE_HEAD_BYTES with 2?
    > The way that the note merging code works in vmcore it assumes that
    > the area is a list of notes. And there is a terminating note that
    > has all the header values set to 0, and nothing else. So the time 2
    > is for the space to store the terminating note.

    Ok.. Got it. Looks fine to me.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-03-28 10:11    [W:0.021 / U:24.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site