Re: [dpdk-dev] [PATCH] eal/linux: add operation LOCK_NB to flock()

2023-06-29 Thread Stephen Hemminger
On Thu, 15 Apr 2021 15:24:01 +0100 "Burakov, Anatoly" wrote: > On 25-Mar-21 8:21 AM, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > The hugepage of different size, 2MB, 1GB may be mounted on > > the same directory (e.g /dev/hugepages). Then dpdk > > primary process will be bloc

Re: [dpdk-dev] [PATCH] eal/linux: add operation LOCK_NB to flock()

2021-04-15 Thread Burakov, Anatoly
On 25-Mar-21 8:21 AM, xiangxia.m@gmail.com wrote: From: Tonghao Zhang The hugepage of different size, 2MB, 1GB may be mounted on the same directory (e.g /dev/hugepages). Then dpdk primary process will be blocked. To address this issue, add the LOCK_NB flags to flock(). $ cat /proc/mounts .

Re: [dpdk-dev] [PATCH] eal/linux: add operation LOCK_NB to flock()

2021-04-13 Thread Tonghao Zhang
On Thu, Mar 25, 2021 at 4:25 PM wrote: > > From: Tonghao Zhang ping > The hugepage of different size, 2MB, 1GB may be mounted on > the same directory (e.g /dev/hugepages). Then dpdk > primary process will be blocked. To address this issue, > add the LOCK_NB flags to flock(). > > $ cat /proc/mount