From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2] mempool: fix search of maximum contiguous pages Date: Tue, 25 Oct 2016 23:23:36 +0200 Message-ID: <1928921.NTs2vF53oN@xps13> References: <1476351445-18102-1-git-send-email-wei.dai@intel.com> <1477407671-21019-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Olivier Matz , wei.dai@intel.com Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 3EB5C2BDF for ; Tue, 25 Oct 2016 23:23:38 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id b80so187764093wme.1 for ; Tue, 25 Oct 2016 14:23:38 -0700 (PDT) In-Reply-To: <1477407671-21019-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-10-25 17:01, Olivier Matz: > From: Wei Dai > > paddr[i] + pg_sz always points to the start physical address of the > 2nd page after pddr[i], so only up to 2 pages can be combinded to > be used. With this revision, more than 2 pages can be used. > > Fixes: 84121f197187 ("mempool: store memory chunks in a list") > > Signed-off-by: Wei Dai > Signed-off-by: Olivier Matz Applied, thanks