if (page_referenced(page, 0, sc->target_mem_cgroup,
                                    &vm_flags)) {
-                       nr_rotated += hpage_nr_pages(page);
                        /*
                         * Identify referenced, file-backed active pages and
                         * give them one more trip around the active list. So
                         * so we ignore them here.
                         */
                        if ((vm_flags & VM_EXEC) && page_is_file_lru(page)) {
+                               nr_rotated += hpage_nr_pages(page);
                                list_add(&page->lru, &l_active);
                                continue;
                        }
         */
        spin_lock_irq(&pgdat->lru_lock);
        /*
-        * Count referenced pages from currently used mappings as rotated,
-        * even though only some of them are actually re-activated.  This
-        * helps balance scan pressure between file and anonymous pages in
-        * get_scan_count.
+        * Rotating pages costs CPU without actually
+        * progressing toward the reclaim goal.
         */
        lru_note_cost(lruvec, file, nr_rotated);