Query: balance_dirty_pages_ratelimited_nr
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BALANCE_DIRTY_PAGES_(9) Memory Management in Linux BALANCE_DIRTY_PAGES_(9)NAMEbalance_dirty_pages_ratelimited_nr - balance dirty memory stateSYNOPSISvoid balance_dirty_pages_ratelimited_nr(struct address_space * mapping, unsigned long nr_pages_dirtied);ARGUMENTSmapping address_space which was dirtied nr_pages_dirtied number of pages which the caller has just dirtiedDESCRIPTIONProcesses which are dirtying memory should call in here once for each page which was newly dirtied. The function will periodically check the system's dirty state and will initiate writeback if needed. On really big machines, get_writeback_state is expensive, so try to avoid calling it too often (ratelimiting). But once we're over the dirty memory limit we decrease the ratelimiting by a lot, to prevent individual processes from overshooting the limit by (ratelimit_pages) each.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BALANCE_DIRTY_PAGES_(9)