summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@zip.com.au>2002-08-13 01:08:04 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-08-13 01:08:04 -0700
commit5803a3a6fb76498764b520f5ba02b2bf86f063db (patch)
tree61c27604c377cf5d5f920506619ea476ddad0eb9 /kernel
parent88d37bdd020ef914ed2c0253d056671687efd91e (diff)
[PATCH] scaled writeback throttling levels
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.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions