• Andrew Morton's avatar
    [PATCH] scaled writeback throttling levels · 5803a3a6
    Andrew Morton authored
    get_page_state() is showing up on profiles on some big machines.  It is
    a quite expensive function and it is being called too often.
    
    The patch replaces the hardwired RATELIMIT_PAGES with a calculated
    amount based on the amount of memory in the machine and the number of
    CPUs.
    5803a3a6
page-writeback.c 15.3 KB