From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] malloc: fix documentation for realloc Date: Wed, 27 Mar 2019 12:03:30 +0100 Message-ID: <2037565.XbdSNCcqL8@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/02/2019 16:29, Anatoly Burakov: > The documentation for rte_realloc claims that the resized area > will always reside on the same NUMA node. This is not actually > the case - while *resized* area will be on the same NUMA node, > if resizing the area is not possible, then the memory will be > reallocated using rte_malloc(), which can allocate memory on > another NUMA node, depending on which lcore rte_realloc() was > called from and which NUMA nodes have memory available. > > Fix the API doc to match the actual code of rte_realloc(). > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied, thanks