[dpdk-dev] [PATCH] mempool: clarify default populate function

David Marchand david.marchand at redhat.com
Thu Oct 17 07:00:55 CEST 2019


On Tue, Oct 8, 2019 at 11:35 AM Olivier Matz <olivier.matz at 6wind.com> wrote:
>
> No functional change. Clarify the populate function to make
> the next commit easier to understand.

After discussion offlist, changed this:
    Clarify the populate function to make future changes easier to
    understand.

>
> Rename the variables:
> - to avoid negation in the name
> - to have more understandable names
>
> Remove useless variable (no_pageshift is equivalent to pg_sz == 0).
>
> Remove duplicate affectation of "external" variable.
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>

Applied, thanks.



--
David Marchand



More information about the dev mailing list