Re: [PATCH v2 22/46] flex_proportions: Allow N events instead of 1

From: Christoph Hellwig
Date: Wed Jun 23 2021 - 04:45:04 EST


On Tue, Jun 22, 2021 at 01:15:27PM +0100, Matthew Wilcox (Oracle) wrote:
> When batching events (such as writing back N pages in a single I/O), it
> is better to do one flex_proportion operation instead of N. There is
> only one caller of __fprop_inc_percpu_max(), and it's the one we're
> going to change in the next patch, so rename it instead of adding a
> compatibility wrapper.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>