From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 41E1F2C08 for ; Tue, 25 Oct 2016 23:23:38 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id c78so187634201wme.0 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=Qwx+Hnej+mvvinFXiiHMr5fb9jrCMm70ru7wKN8BN72XKMUnJdWhFdVL0jj2YR1+z4 Ib8P/e7R/5tjC+ZA/hFSsKCPyCaTH4FslhJrqxxv+Jp91lb17GQEfDU6H+DGLuwSs0HE xIpSsJzteAZ9v2JyFoOYsYa2bvUm5ekHTdr+uk2USQ6CmFyAqZohF7fsQWnLdA8dxhGY +8o9b4jakNg15Xjg3gA0teNcw9l56UHr7I93wM5R3wuER1lsYjPwEg/LErugvCukpw5i nacBB44IcO7Eb7LI2tlGrO5zMyjpvqFd0LMu2F85RIdop9lygR0d51cO/uoN1yQq5Jiv /UYA== X-Gm-Message-State: ABUngvdXNpgw9XoEoeFQyzxynTL82oZOOcG/cymDvyEZZt0IA9DmeoXvo1JobOSMs4uzk/cp 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, sergio.gonzalez.monroy@intel.com, jianfeng.tan@intel.com, stable@dpdk.org Subject: Re: [dpdk-stable] [PATCH v2] mempool: fix search of maximum contiguous pages X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches 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