From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2C85CA0096 for ; Tue, 4 Jun 2019 13:05:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F0B791BB3A; Tue, 4 Jun 2019 13:05:55 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 8F3A21BB20; Tue, 4 Jun 2019 13:05:54 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1AF7C21F69; Tue, 4 Jun 2019 07:05:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 04 Jun 2019 07:05:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=8o9QfWIjFzx62OtmCg+U7uoABIc1z49xXpQAUPAVZr8=; b=RBGnBB3slgAN GkQCbsIkNVKurXFl8AFMKVnpgZJ1rIfv6IUNJ8CvPGUJUOWeGf9yNttVboBjpr9c jqg37v4ocKpfI1ub4psMz7E2SZqCbOhSyyQJ6bAIze1+GRbhU5zN4V0L0HV32Cvq FVdDbLEPJfjjMlDGcsf3M9sr5u/DLv0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=8o9QfWIjFzx62OtmCg+U7uoABIc1z49xXpQAUPAVZ r8=; b=6dOSqoNXwKzRxeG7wDyMMZ67WVr0IqSySv7IS42BK8EzDsZkMMiTjrLSV WxSLc9Q7q2PS/m5HfMI8p0VH/h+vdqqXNfkqv35KaIN/791Y/9uFjV0hISgylLG2 eErM1xKtoSlH3QAPFLLnBFEUW3Zi1ftLUpTGyklFhgTiRs580jKa/gPu7WLfw2lb ssO3lr91OjXTYpaL+6UfnGHpisnQJqV63JHT/Z9R4CPA8zRHml6HzBRXAo5pN93I 1F8tcEeLTy4i94/kBGO3vzz+bzyNjL+S3crTzi4rB70s/aFxNpSJQEWDv67muHQ/ U7DB1H9wLjcXJdAaqzCI34Qp71bCg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefledgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 380438005A; Tue, 4 Jun 2019 07:05:52 -0400 (EDT) From: Thomas Monjalon To: Nicolas Dichtel Cc: stable@dpdk.org, David Marchand , dev , Anatoly Burakov , Olivier Matz , Didier Pallard Date: Tue, 04 Jun 2019 13:05:51 +0200 Message-ID: <1584930.Wu5a5yPRnN@xps> In-Reply-To: References: <20190523095231.1091-1-nicolas.dichtel@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] mem: ease init in a docker container X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 23/05/2019 16:29, David Marchand: > On Thu, May 23, 2019 at 11:53 AM 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 seccomp profile. > > > > Note that the returned value of move_pages() was not checked, thus some > > errors could be hidden (if the requested id was 0). > > > > Cc: stable@dpdk.org > > Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") > > Signed-off-by: Nicolas Dichtel > > Reviewed-by: Olivier Matz > > Reviewed-by: Didier Pallard > > Acked-by: Anatoly Burakov > Reviewed-by: David Marchand Applied, thanks Nico