-
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