This patch set fixes regression of mmap on /proc/vmcore since v3.12-rc1. The primary one is the 2nd patch. The 1st patch is another bug I found during investiation and it affects mmap on /proc/vmcore even if only 2nd patch is applied, so fix it together in this patch set. The last patch is just for cleaning up of target function in both 1st and 2nd patches. --- HATAYAMA Daisuke (3): procfs: fix unintended truncation of returned mapped address procfs: Call default get_unmapped_area on MMU-present architectures procfs: clean up proc_reg_get_unmapped_area for 80-column limit fs/proc/inode.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) -- Thanks. HATAYAMA, Daisuke