Re: [PATCH v5 1/8] vmcore: allocate buffer for ELF headers on page-size alignment

2013-05-14 Thread Vivek Goyal
On Tue, May 14, 2013 at 10:57:12AM +0900, HATAYAMA Daisuke wrote: > Allocate ELF headers on page-size boundary using __get_free_pages() > instead of kmalloc(). > > Later patch will merge PT_NOTE entries into a single unique one and > decrease the buffer size actually used. Keep original buffer siz

[PATCH v5 1/8] vmcore: allocate buffer for ELF headers on page-size alignment

2013-05-13 Thread HATAYAMA Daisuke
Allocate ELF headers on page-size boundary using __get_free_pages() instead of kmalloc(). Later patch will merge PT_NOTE entries into a single unique one and decrease the buffer size actually used. Keep original buffer size in variable elfcorebuf_sz_orig to kfree the buffer later and actually used