[dpdk-dev] [PATCH v3 4/9] memalloc: rename lock list to fd list
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Sep 13 17:19:35 CEST 2018
On 09/04/2018 05:15 PM, Anatoly Burakov wrote:
> Previously, we were only using lock lists to store per-page lock fd's
> because we cannot use modern fcntl() file description locks to lock
> parts of the page in single file segments mode.
>
> Now, we will be using this list to store either lock fd's (along with
> memseg list fd) in single file segments mode, or per-page fd's (and set
> memseg list fd to -1), so rename the list accordingly.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> lib/librte_eal/linuxapp/eal/eal_memalloc.c | 66 ++++++++++++----------
> 1 file changed, 37 insertions(+), 29 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the dev
mailing list