On Fri, 29 Apr 2022 20:23:17 +0100 "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> wrote: > This mostly just removes calls to compound_head() although nr_reclaimed > should be incremented by the number of pages, not just 1. Yup. This change > > * leave it off the LRU). > */ > - nr_reclaimed++; > + nr_reclaimed += nr_pages; > continue; > } > } Was done independently by https://lkml.kernel.org/r/20220425111232.23182-5-linmiaohe@xxxxxxxxxx