Re: [PATCH v2 18/23] percpu: keep track of the best offset for contig hints

From: Josef Bacik
Date: Tue Jul 25 2017 - 15:29:21 EST


On Mon, Jul 24, 2017 at 07:02:15PM -0400, Dennis Zhou wrote:
> From: "Dennis Zhou (Facebook)" <dennisszhou@xxxxxxxxx>
>
> This patch makes the contig hint starting offset optimization from the
> previous patch as honest as it can be. For both chunk and block starting
> offsets, make sure it keeps the starting offset with the best alignment.
>
> The block skip optimization is added in a later patch when the
> pcpu_find_block_fit iterator is swapped in.
>
> Signed-off-by: Dennis Zhou <dennisszhou@xxxxxxxxx>

Reviewed-by: Josef Bacik <jbacik@xxxxxx>

Thanks,

Josef