On Mon 22-03-21 20:11:13, Matthew Wilcox (Oracle) wrote: > This is prep work for THP or Folios or whatever we end up doing -- > we are going to end up somehow batching page writeback completions. > Nothing here makes that happen; we simply pass '1' from all our current > callers, but eventually we'll pass a number greater than 1. The patches look good to me besides that one problem in the writeback proportions code. After that is fixed, I can either take the patches through my tree or we can route them through Andrew with my Reviewed-by. Honza > > Matthew Wilcox (Oracle) (3): > mm/writeback: Rename __add_wb_stat to wb_stat_mod > flex_proportions: Allow N events instead of 1 > mm/writeback: Change __wb_writeout_inc to __wb_writeout_add > > include/linux/backing-dev.h | 6 +++--- > include/linux/flex_proportions.h | 9 +++++---- > lib/flex_proportions.c | 15 ++++++++------- > mm/page-writeback.c | 24 ++++++++++++------------ > 4 files changed, 28 insertions(+), 26 deletions(-) > > -- > 2.30.2 > -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR