1/7

mm/mglru: separate folio generation update from LRU accounting

folio_inc_gen() currently updates both the folio’s generation and the LRU size accounting. This makes it difficult to batch the LRU size updates when moving multiple folios. Extract the generation up