The patch titled Subject: mm-add-free_hot_cold_page_list-helper-v2 has been added to the -mm tree. Its filename is mm-add-free_hot_cold_page_list-helper-v2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> Subject: mm-add-free_hot_cold_page_list-helper-v2 Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> Cc: Mel Gorman <mel@xxxxxxxxx> Cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Cc: Minchan Kim <minchan.kim@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN mm/page_alloc.c~mm-add-free_hot_cold_page_list-helper-v2 mm/page_alloc.c --- a/mm/page_alloc.c~mm-add-free_hot_cold_page_list-helper-v2 +++ a/mm/page_alloc.c @@ -1210,6 +1210,9 @@ out: local_irq_restore(flags); } +/* + * Free a list of 0-order pages + */ void free_hot_cold_page_list(struct list_head *list, int cold) { struct page *page, *next; @@ -1218,8 +1221,6 @@ void free_hot_cold_page_list(struct list trace_mm_pagevec_free(page, cold); free_hot_cold_page(page, cold); } - - INIT_LIST_HEAD(list); } /* _ Subject: Subject: mm-add-free_hot_cold_page_list-helper-v2 Patches currently in -mm which might be from khlebnikov@xxxxxxxxxx are linux-next.patch vmscan-fix-initial-shrinker-size-handling.patch vmscan-use-atomic-long-for-shrinker-batching.patch vmscan-use-atomic-long-for-shrinker-batching-fix.patch vmscan-promote-shared-file-mapped-pages.patch vmscan-activate-executable-pages-after-first-usage.patch mm-add-free_hot_cold_page_list-helper.patch mm-add-free_hot_cold_page_list-helper-v2.patch mm-fix-page-faults-detection-in-swap-token-logic.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