From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] malloc: make alignment requirements more stringent Date: Thu, 20 Dec 2018 15:35:09 +0100 Message-ID: <5100972.CtmhpYIKJZ@xps> References: <245b643cbfb5f3a0f96e44603339e20278b34e76.1544788410.git.anatoly.burakov@intel.com> <8164A185-3807-404C-9678-61513386BB64@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Yongseok Koh , dev , Shahaf Shuler To: stable@dpdk.org, Anatoly Burakov Return-path: In-Reply-To: <8164A185-3807-404C-9678-61513386BB64@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 14/12/2018 19:51, Yongseok Koh: > > > On Dec 14, 2018, at 3:54 AM, Anatoly Burakov wrote: > > > > The external heaps API already implicitly expects start address > > of the external memory area to be page-aligned, but it is not > > enforced or documented. Fix this by implementing additional > > parameter checks at memory add call, and document the page > > alignment requirement explicitly. > > > > Fixes: 7d75c31014f7 ("malloc: allow adding memory to named heaps") > > Cc: stable@dpdk.org > > > > Signed-off-by: Anatoly Burakov > > Suggested-by: Yongseok Koh > > --- > > Acked-by: Yongseok Koh Applied, thanks