Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
In LU-16433 there is discussion about if and how we can recapture the lost performance from being unable to use Patrick's vvp_set_pagevec_dirty() since losing access to account_page_dirtied().
This is an attempt to provide a replacement in vvp_folio_account_dirtied() with the caveat that some memcg and writeback ratelimit calculations will be wrong:
here:
-> __this_cpu_add(bdp_ratelimits, nr); <- no access
and here:
-> mem_cgroup_track_foreign_dirty(folio, wb); <- no access