Re: [PATCH 3/6] mm/page_io: use swap entries directly in zeromap helpers
Johannes Weiner <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 06, 2026 at 06:55:35PM -0400, Tal Zussman wrote: > Increment swp_entry_t::val directly instead of recomputing each entry > with page_swap_entry(). This removes the last struct page usage in > page_io.c and saves one call to compound_head() per page. > > Signed-off-by: Tal Zussman <[email protected]> ...plus that unholy dance in folio_page_idx() for every +1. Acked-by: Johannes Weiner <[email protected]>