From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=7MtO3NBNPxue1mg8QSg+C+fOW+JYL9MaaqyNuHBynx0=; b=pOkVSidAWB0mVeFdEWDbliyhNDWqX2WUuwofDmjcOJNB4YXLDZWd1qPzi6oPZd+oFD oPATUWpdkRHvCkMKrzLAyRSsJ5HT+NYqm22wDK0yNl8fKCMRx3DTHfzeGEOihtymWReS lY1yB+FhKhE8pm3BqBFZqHdqndzBnSL8SZSldr293lJC2CbozJDfltY/ocuZM98OHemv eC9G30u+evXUvcBWIwZrMOYCSarWRLvCuYqdXqmXi4h7dhNlJrsEeJx0/FdOrs+/yKOf w7+C2jHeqg+ycA8mI6lMOt2442iXUU7RSwvyKZrMEA7sieJIaiZVWG8IX6wkHrxEG9T/ 2ySQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=7MtO3NBNPxue1mg8QSg+C+fOW+JYL9MaaqyNuHBynx0=; b=XS5m9WZ37KPnKePJlSr7U96bsMJZrvzLaQ850wmkRHV/vkc3eEvwhX8X1S69zA2uzW vK33/LDuQu21SNFuqmBU0ic1hQS0VMYhKcFpGyOxFxR60kgxy5U5AYgOKTM2Yg9OpuTL QSXh//gwG+65O9zFZLC5cKjZqot57SpwGEYyg9+A++Jo7SMupqDbiY8JF+pDpU2iyYDU 3V4cdZFM5ZE9arDLZZyAinf1s3ih6lJ1Tux5RgW+vhMvp2QnjprO0DU/R/JiOFOxFM5I 7qxnmdGE1pwNUqgnRu6rTvhZIxHvqdjd6ud1e/nNYeXI+Fe8xZwyn7Tc2u9M+opKsV7e iOCQ== X-Gm-Message-State: ABUngvd3PDKCZdEvU3PvTbCKzdQ+RPrj+X9CUoXKduMUUYmV/JucFl7h+apD/isdve1ylmn7 X-Received: by 10.194.148.77 with SMTP id tq13mr5018353wjb.101.1477430617905; Tue, 25 Oct 2016 14:23:37 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id l19sm5739857wmg.5.2016.10.25.14.23.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 14:23:36 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz , wei.dai@intel.com Date: Tue, 25 Oct 2016 23:23:36 +0200 Message-ID: <1928921.NTs2vF53oN@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1477407671-21019-1-git-send-email-olivier.matz@6wind.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, stable@dpdk.org Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] mempool: fix search of maximum contiguous pages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 21:23:38 -0000 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