Re: [dpdk-dev] [PATCH v3 1/3] mem: fix 32-bit memory upper limit for non-legacy mode

2018-04-25 Thread Pattan, Reshma
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, April 24, 2018 11:19 AM > To: dev@dpdk.org > Cc: Pattan, Reshma ; Burakov, Anatoly > > Subject: [PATCH v3 1/3] mem: fix 32-bit memory upper limit for non-legacy > mode > > 32-bit mode has an upper limit on amount of VA space

[dpdk-dev] [PATCH v3 1/3] mem: fix 32-bit memory upper limit for non-legacy mode

2018-04-24 Thread Anatoly Burakov
32-bit mode has an upper limit on amount of VA space it can preallocate, but the original implementation used the wrong constant, resulting in failure to initialize due to integer overflow. Fix it by using the correct constant. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: anat