Re: [dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-23 Thread David Marchand
s/librte_eal/mem/ for the title prefix. On Thu, May 23, 2019 at 10:56 AM Burakov, Anatoly wrote: > On 22-May-19 4:41 PM, Nicolas Dichtel wrote: > > move_pages() is only used to get the numa node id, but this function > > is not allowed by default in docker (it needs CAP_SYS_NICE and an update >

Re: [dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-23 Thread Burakov, Anatoly
On 22-May-19 4:41 PM, Nicolas Dichtel wrote: move_pages() is only used to get the numa node id, but this function is not allowed by default in docker (it needs CAP_SYS_NICE and an update of the seccomp profile). get_mempolicy() also requires CAP_SYS_NICE but doesn't need any change in the default

Re: [dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-23 Thread Burakov, Anatoly
On 22-May-19 5:08 PM, Nicolas Dichtel wrote: Le 22/05/2019 à 17:57, Burakov, Anatoly a écrit : On 22-May-19 4:41 PM, Nicolas Dichtel wrote: move_pages() is only used to get the numa node id, but this function is not allowed by default in docker (it needs CAP_SYS_NICE and an update of the secco

Re: [dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-22 Thread Nicolas Dichtel
Le 22/05/2019 à 17:57, Burakov, Anatoly a écrit : > On 22-May-19 4:41 PM, Nicolas Dichtel wrote: >> move_pages() is only used to get the numa node id, but this function >> is not allowed by default in docker (it needs CAP_SYS_NICE and an update of >> the seccomp profile). >> get_mempolicy() also

Re: [dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-22 Thread Burakov, Anatoly
On 22-May-19 4:41 PM, Nicolas Dichtel wrote: move_pages() is only used to get the numa node id, but this function is not allowed by default in docker (it needs CAP_SYS_NICE and an update of the seccomp profile). get_mempolicy() also requires CAP_SYS_NICE but doesn't need any change in the default

[dpdk-dev] [PATCH] librte_eal: ease init in a docker container

2019-05-22 Thread Nicolas Dichtel
move_pages() is only used to get the numa node id, but this function is not allowed by default in docker (it needs CAP_SYS_NICE and an update of the seccomp profile). get_mempolicy() also requires CAP_SYS_NICE but doesn't need any change in the default seccomp profile. Note that the returned value