The patch titled Subject: align-crash_notes-allocation-to-make-it-be-inside-one-physical-page-fix has been removed from the -mm tree. Its filename was align-crash_notes-allocation-to-make-it-be-inside-one-physical-page-fix.patch This patch was dropped because it was folded into align-crash_notes-allocation-to-make-it-be-inside-one-physical-page.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: align-crash_notes-allocation-to-make-it-be-inside-one-physical-page-fix use correct comment layout Cc: Baoquan He <bhe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff -puN kernel/kexec_core.c~align-crash_notes-allocation-to-make-it-be-inside-one-physical-page-fix kernel/kexec_core.c --- a/kernel/kexec_core.c~align-crash_notes-allocation-to-make-it-be-inside-one-physical-page-fix +++ a/kernel/kexec_core.c @@ -1006,19 +1006,23 @@ static int __init crash_notes_memory_ini /* Allocate memory for saving cpu registers. */ size_t size, align; - /* crash_notes could be allocated across 2 vmalloc pages when percpu + /* + * crash_notes could be allocated across 2 vmalloc pages when percpu * is vmalloc based . vmalloc doesn't guarantee 2 continuous vmalloc * pages are also on 2 continuous physical pages. In this case the * 2nd part of crash_notes in 2nd page could be lost since only the * starting address and size of crash_notes are exported through sysfs. * Here round up the size of crash_notes to the nearest power of two * and pass it to __alloc_percpu as align value. This can make sure - * crash_notes is allocated inside one physical page. */ + * crash_notes is allocated inside one physical page. + */ size = sizeof(note_buf_t); align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE); - /* Break compile if size is bigger than PAGE_SIZE since crash_notes - * definitely will be in 2 pages with that. */ + /* + * Break compile if size is bigger than PAGE_SIZE since crash_notes + * definitely will be in 2 pages with that. + */ BUILD_BUG_ON(size > PAGE_SIZE); crash_notes = __alloc_percpu(size, align); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are procfs-always-expose-proc-pid-map_files-and-make-it-readable-fix-fix.patch align-crash_notes-allocation-to-make-it-be-inside-one-physical-page.patch mm-mpx-add-vm_flags_t-vm_flags-arg-to-do_mmap_pgoff-fix-checkpatch-fixes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html