• Andrew Morton's avatar
    [PATCH] batched freeing of anon pages · 8fd3d458
    Andrew Morton authored
    A reworked version of the batched page freeing and lock amortisation
    for VMA teardown.
    
    It walks the existing 507-page list in the mmu_gather_t in 16-page
    chunks, drops their refcounts in 16-page chunks, and de-LRUs and
    frees any resulting zero-count pages in up-to-16 page chunks.
    8fd3d458
swap_state.c 10.4 KB