• Andrew Morton's avatar
    [PATCH] rate limit nr_free_pages · c7f6fcf5
    Andrew Morton authored
    From: Jes Sorensen <jes@trained-monkey.org>
    
    nr_free_pages() is expensive, especially on large SMP machines.  The patch
    changes the memory overcommit code so that it only calls nr_free_pages() is
    we're about to fail the allocation attempt.
    c7f6fcf5
commoncap.c 10.4 KB