[PATCH v2 17/20] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-04 Thread HATAYAMA Daisuke
If there's some vmcore object that doesn't satisfy page-size boundary requirement, remap_pfn_range() fails to remap it to user-space. Objects that posisbly don't satisfy the requirement are ELF note segments only. The memory chunks corresponding to PT_LOAD entries are guaranteed to satisfy

[PATCH v2 17/20] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-04 Thread HATAYAMA Daisuke
If there's some vmcore object that doesn't satisfy page-size boundary requirement, remap_pfn_range() fails to remap it to user-space. Objects that posisbly don't satisfy the requirement are ELF note segments only. The memory chunks corresponding to PT_LOAD entries are guaranteed to satisfy