The patch titled Subject: kernel/kexec_core.c: use list_for_each_entry_safe in kimage_free_page_list has been removed from the -mm tree. Its filename was kexec-use-list_for_each_entry_safe-in-kimage_free_page_list.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Geliang Tang <geliangtang@xxxxxxx> Subject: kernel/kexec_core.c: use list_for_each_entry_safe in kimage_free_page_list Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang <geliangtang@xxxxxxx> Cc: Dave Young <dyoung@xxxxxxxxxx> Cc: Vivek Goyal <vgoyal@xxxxxxxxxx> Acked-by: Baoquan He <bhe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff -puN kernel/kexec_core.c~kexec-use-list_for_each_entry_safe-in-kimage_free_page_list kernel/kexec_core.c --- a/kernel/kexec_core.c~kexec-use-list_for_each_entry_safe-in-kimage_free_page_list +++ a/kernel/kexec_core.c @@ -310,12 +310,9 @@ static void kimage_free_pages(struct pag void kimage_free_page_list(struct list_head *list) { - struct list_head *pos, *next; + struct page *page, *next; - list_for_each_safe(pos, next, list) { - struct page *page; - - page = list_entry(pos, struct page, lru); + list_for_each_entry_safe(page, next, list, lru) { list_del(&page->lru); kimage_free_pages(page); } _ Patches currently in -mm which might be from geliangtang@xxxxxxx are -- 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