• Hugh Dickins's avatar
    [PATCH] shmem accounting fixes · 62fe4120
    Hugh Dickins authored
    If we're going to rely on struct page *s rather than virtual addresses
    for the metadata pages, let's count nr_swapped in the private field:
    these pages are only for storing swp_entry_ts, and need not be examined
    at all when nr_swapped is zero.
    62fe4120
shmem.c 45.7 KB