aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-06-23 10:51:45 -0700
committerJens Axboe <[email protected]>2022-07-24 18:39:31 -0600
commite92eebbb09218e128e559cf12b65317721309324 (patch)
tree5202cd32a11a8b33712991a268ae4882cfcab9a7 /net/lapb/lapb_subr.c
parentea6813be07dcdc072aa9ad18099115a74cecb5e1 (diff)
mm: Move updates of dirty_exceeded into one place
Transition of wb->dirty_exceeded from 0 to 1 happens before we go to sleep in balance_dirty_pages() while transition from 1 to 0 happens when exiting from balance_dirty_pages(), possibly based on old values. This does not make a lot of sense since wb->dirty_exceeded should simply reflect whether wb is over dirty limit and so we should ratelimit entering to balance_dirty_pages() less. Move the two updates together. 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