The patch titled Subject: mm: put activate_page_pvecs and other pagevecs together has been added to the -mm tree. Its filename is mm-put-activate_page_pvecs-and-others-pagevec-together.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-put-activate_page_pvecs-and-others-pagevec-together.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-put-activate_page_pvecs-and-others-pagevec-together.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 *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ming Li <mingli199x@xxxxxx> Subject: mm: put activate_page_pvecs and other pagevecs together Put the activate_page_pvecs definition next to those of the other pagevecs, for clarity. Signed-off-by: Ming Li <mingli199x@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN mm/swap.c~mm-put-activate_page_pvecs-and-others-pagevec-together mm/swap.c --- a/mm/swap.c~mm-put-activate_page_pvecs-and-others-pagevec-together +++ a/mm/swap.c @@ -47,6 +47,9 @@ static DEFINE_PER_CPU(struct pagevec, lr static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs); static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs); static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs); +#ifdef CONFIG_SMP +static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs); +#endif /* * This path almost never happens for VM activity - pages are normally @@ -274,8 +277,6 @@ static void __activate_page(struct page } #ifdef CONFIG_SMP -static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs); - static void activate_page_drain(int cpu) { struct pagevec *pvec = &per_cpu(activate_page_pvecs, cpu); _ Patches currently in -mm which might be from mingli199x@xxxxxx are mm-put-activate_page_pvecs-and-others-pagevec-together.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