Re: [lng-odp] [API-NEXT PATCH] linux-gen: shared_memory: remove flag forcing mlock()

2016-12-12 Thread Maxim Uvarov
Applied, Maxim. On 5 December 2016 at 21:26, Christophe Milard wrote: > The _ishm flag _ODP_ISHM_LOCK is no longer set when doing shm_reserve(), > hence enabling non-root user to exceed the 64MB mlock memory limit > (ulimit). > > Signed-off-by: Christophe Milard > --- > platform/linux-generic/

Re: [lng-odp] [API-NEXT PATCH] linux-gen: shared_memory: remove flag forcing mlock()

2016-12-12 Thread Maxim Uvarov
On 12/05/16 21:26, Christophe Milard wrote: > The _ishm flag _ODP_ISHM_LOCK is no longer set when doing shm_reserve(), > hence enabling non-root user to exceed the 64MB mlock memory limit > (ulimit). 64kb on my system (Ubuntu), not 64MB. Is it ok to fix in place? My ipc patches based on that patch

[lng-odp] [API-NEXT PATCH] linux-gen: shared_memory: remove flag forcing mlock()

2016-12-05 Thread Christophe Milard
The _ishm flag _ODP_ISHM_LOCK is no longer set when doing shm_reserve(), hence enabling non-root user to exceed the 64MB mlock memory limit (ulimit). Signed-off-by: Christophe Milard --- platform/linux-generic/odp_shared_memory.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/lin