Re: [dpdk-dev] [PATCH v6 51/70] mem: add support for mapping hugepages at runtime

2018-04-17 Thread Yongseok Koh
> On Apr 17, 2018, at 12:20 AM, Thomas Monjalon wrote: > > 17/04/2018 04:06, Yongseok Koh: >> There's a bug in the old RedHat release: >> Bug 1476120 - glibc headers don't include linux/falloc.h, and therefore >> doesn't include fallocate() flags [1] >> >> How about adding "#include " ahead o

Re: [dpdk-dev] [PATCH v6 51/70] mem: add support for mapping hugepages at runtime

2018-04-17 Thread Thomas Monjalon
17/04/2018 04:06, Yongseok Koh: > There's a bug in the old RedHat release: > Bug 1476120 - glibc headers don't include linux/falloc.h, and therefore > doesn't include fallocate() flags [1] > > How about adding "#include " ahead of fcntl.h? I'm quite lazy > to update my host and using CentOS 7.2.

Re: [dpdk-dev] [PATCH v6 51/70] mem: add support for mapping hugepages at runtime

2018-04-16 Thread Yongseok Koh
> On Apr 11, 2018, at 5:30 AM, Anatoly Burakov > wrote: > > Nothing uses this code yet. The bulk of it is copied from old > memory allocation code (linuxapp eal_memory.c). We provide an > EAL-internal API to allocate either one page or multiple pages, > guaranteeing that we'll get contiguous VA

[dpdk-dev] [PATCH v6 51/70] mem: add support for mapping hugepages at runtime

2018-04-11 Thread Anatoly Burakov
Nothing uses this code yet. The bulk of it is copied from old memory allocation code (linuxapp eal_memory.c). We provide an EAL-internal API to allocate either one page or multiple pages, guaranteeing that we'll get contiguous VA for all of the pages that we requested. Not supported on FreeBSD. L