The patch titled kill redundancy in rotate_reclaimable_page has been removed from the -mm tree. Its filename was mm-use-pagevec-to-rotate-reclaimable-page-kill-redundancy-in-rotate_reclaimable_page.patch This patch was dropped because it was folded into mm-use-pagevec-to-rotate-reclaimable-page.patch ------------------------------------------------------ Subject: kill redundancy in rotate_reclaimable_page From: Hugh Dickins <hugh@xxxxxxxxxxx> a.k.a. mm-use-pagevec-to-rotate-reclaimable-page-cleanup.patch PageActive and PageLRU twice in a row: of course there used to be a lock taken in between those tests; but now that pagevec_move_tail() is making those tests under lock, there's no point to repeating them here. Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx> Cc: Hisashi Hifumi <hifumi.hisashi@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- diff -puN mm/swap.c~mm-use-pagevec-to-rotate-reclaimable-page-kill-redundancy-in-rotate_reclaimable_page mm/swap.c --- a/mm/swap.c~mm-use-pagevec-to-rotate-reclaimable-page-kill-redundancy-in-rotate_reclaimable_page +++ a/mm/swap.c @@ -158,14 +158,13 @@ int rotate_reclaimable_page(struct page if (!PageLRU(page)) return 1; - if (PageLRU(page) && !PageActive(page)) { - page_cache_get(page); - local_irq_save(flags); - pvec = &__get_cpu_var(rotate_pvecs); - if (!pagevec_add(pvec, page)) - pagevec_move_tail(pvec); - local_irq_restore(flags); - } + page_cache_get(page); + local_irq_save(flags); + pvec = &__get_cpu_var(lru_rotate_pvecs); + if (!pagevec_add(pvec, page)) + pagevec_move_tail(pvec); + local_irq_restore(flags); + if (!test_clear_page_writeback(page)) BUG(); _ Patches currently in -mm which might be from hugh@xxxxxxxxxxx are origin.patch mm-clarify-__add_to_swap_cache-locking.patch radix-tree-use-indirect-bit.patch mm-use-pagevec-to-rotate-reclaimable-page.patch mm-use-pagevec-to-rotate-reclaimable-page-kill-redundancy-in-rotate_reclaimable_page.patch mm-use-pagevec-to-rotate-reclaimable-page-move_tail_pages-into-lru_add_drain.patch introduce-write_begin-write_end-aops-important-fix.patch reiserfs-convert-to-new-aops-fix.patch hostfs-convert-to-new-aops-fix.patch affs-convert-to-new-aops-fix.patch flush-cache-before-installing-new-page-at-migraton.patch flush-icache-before-set_pte-on-ia64-flush-icache-at-set_pte.patch flush-icache-before-set_pte-on-ia64-flush-icache-at-set_pte-fix.patch flush-icache-before-set_pte-on-ia64-flush-icache-at-set_pte-fix-update.patch maps-pssproportional-set-size-accounting-in-smaps.patch mm-shmemc-make-3-functions-static.patch lib-percpu_counter_sub.patch mm-per-device-dirty-threshold-fix.patch ext2-reservations.patch fix-for-ext2-reservation.patch ext2-balloc-use-io_error-label.patch memory-controller-memory-accounting-v7-fix-swapoff-breakage-however.patch exportfs-add-fid-type.patch exportfs-add-new-methods.patch shmem-new-export-ops.patch exportfs-remove-old-methods.patch exportfs-make-struct-export_operations-const.patch exportfs-update-documentation.patch prio_tree-debugging-patch.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