aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-06-23 10:51:44 -0700
committerJens Axboe <[email protected]>2022-07-24 18:39:31 -0600
commitea6813be07dcdc072aa9ad18099115a74cecb5e1 (patch)
treef4e94a1779139dc9f57684fbce5fc29b76541c2b /net/lapb/lapb_subr.c
parentf6b543fd03d347e8bf245cee4f2d54eb6ffd8fcb (diff)
mm: Move starting of background writeback into the main balancing loop
We start background writeback if we are over background threshold after exiting the main loop in balance_dirty_pages(). This may result in basing the decision on already stale values (we may have slept for significant amount of time) and it is also inconvenient for refactoring needed for async dirty throttling. Move the check into the main waiting loop. Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Stefan Roesch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions