Re: [PATCH v7 6/8] vmcore: allocate ELF note segment in the 2nd kernel vmalloc memory

2013-05-22 Thread Vivek Goyal
On Wed, May 22, 2013 at 11:56:06AM +0900, HATAYAMA Daisuke wrote: [..] > -/* Merges all the PT_NOTE headers into one. */ > -static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz, > - struct list_head *vc_list) > +/** > + * get_note_numbe

[PATCH v7 6/8] vmcore: allocate ELF note segment in the 2nd kernel vmalloc memory

2013-05-21 Thread HATAYAMA Daisuke
The reasons why we don't allocate ELF note segment in the 1st kernel (old memory) on page boundary is to keep backward compatibility for old kernels, and that if doing so, we waste not a little memory due to round-up operation to fit the memory to page boundary since most of the buffers are in per-