Re: [dpdk-dev] [PATCH] mem: fix alignment of requested virtual areas

2018-07-18 Thread Thomas Monjalon
17/07/2018 11:48, Stojaczyk, DariuszX: > From: Burakov, Anatoly > > > > The original code did not align any addresses that were requested as > > page-aligned, but were different because addr_is_hint was set. > > > > Below fix by Dariusz has introduced an issue where all unaligned addresses > > we

Re: [dpdk-dev] [PATCH] mem: fix alignment of requested virtual areas

2018-07-17 Thread Stojaczyk, DariuszX
> -Original Message- > From: Burakov, Anatoly > Sent: Monday, July 16, 2018 4:57 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Yao, Lei A ; Stojaczyk, DariuszX > ; sta...@dpdk.org > Subject: [PATCH] mem: fix alignment of requested virtual areas > > The original code did not align any

Re: [dpdk-dev] [PATCH] mem: fix alignment of requested virtual areas

2018-07-16 Thread Yao, Lei A
> -Original Message- > From: Burakov, Anatoly > Sent: Monday, July 16, 2018 3:57 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Yao, Lei A ; Stojaczyk, > DariuszX ; sta...@dpdk.org > Subject: [PATCH] mem: fix alignment of requested virtual areas > > The original code did not align any

[dpdk-dev] [PATCH] mem: fix alignment of requested virtual areas

2018-07-16 Thread Anatoly Burakov
The original code did not align any addresses that were requested as page-aligned, but were different because addr_is_hint was set. Below fix by Dariusz has introduced an issue where all unaligned addresses were left as unaligned. This patch is a partial revert of commit 7fa7216ed48d ("mem: fix a