1BALANCE_DIRTY_PAGES_(9)   Memory Management in Linux   BALANCE_DIRTY_PAGES_(9)
2
3
4

NAME

6       balance_dirty_pages_ratelimited - balance dirty memory state
7

SYNOPSIS

9       void balance_dirty_pages_ratelimited(struct address_space * mapping);
10

ARGUMENTS

12       mapping
13           address_space which was dirtied
14

DESCRIPTION

16       Processes which are dirtying memory should call in here once for each
17       page which was newly dirtied. The function will periodically check the
18       system's dirty state and will initiate writeback if needed.
19
20       On really big machines, get_writeback_state is expensive, so try to
21       avoid calling it too often (ratelimiting). But once we're over the
22       dirty memory limit we decrease the ratelimiting by a lot, to prevent
23       individual processes from overshooting the limit by (ratelimit_pages)
24       each.
25
27Kernel Hackers Manual 3.10         June 2019           BALANCE_DIRTY_PAGES_(9)
Impressum