From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 2B5A22E81 for ; Fri, 13 Jan 2017 16:34:47 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id f73so12833058wmf.1 for ; Fri, 13 Jan 2017 07:34:47 -0800 (PST) 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=Q7p/ZQITTSQ5r/56GELG3KgDoIMFK69NM1ENvNZ8z0E=; b=oG+e1xJLWopEkcFAHajzsWV6CglA2RnrTEUsxviLEjyigxODS57D8u8IJOAeNMy0e/ PasksHjOMlbghrlACp8eSbRgDoK5QNpWH5XriWvAPZB4uMsN2fVFrqHfYTk451ID+Yko 5zU9WQLrs1EQ/yqtYa3M3jl8gMr4XE/MY/oKrIsT1PvLDQmULJONjYj7ETHpPQyR4CmP XyIG1LwUraKoDZQRcQB5V4Xg/fz4CHnK9J1997hH39/0f4cFXNJUwtQqEbA/lUUlWFHo Wj2YIq1QRJgiJ8RVBWZjQCseYMBuZPOBkMXOnfCuzLhiS9yRB6A0m7bZ2sLcrEvQ+wSv u5Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Q7p/ZQITTSQ5r/56GELG3KgDoIMFK69NM1ENvNZ8z0E=; b=a3SvWoaxRLBViOQ9v2dBnz7B6cYrjm2C9y67fwX7A+IjTkR1kckPOpS7m15T9unZ/+ a6izLIAsBDlwbuaENledujQBwTVJeE0mt5TLS6/dtBPIWcCfTLRbgheJEdex9zlaLDrP e3OvHa/U3B75PhfIazlCRO4Pyd8NXWEHZy2GnA0Czo2AwIsq/xFgOub7LfVJYRWYpJ5K d7R31shXafKlhsiCmy9+nAtryj/nOITEMjZh7++4YEuWxvgRdn3gHvl19xvfhEKTLobX sqlF0+XinGRwAKwZN/qi+6CrFo7gaOSOO7MpGfesgtXrIDauto6MrsMJZkSfQ03U9Vie kFJg== X-Gm-Message-State: AIkVDXL9t+AcdnbbiIJ4w61RAiCM6iVv2BoIv1HncdOtEa+WCpUVsDnze2hXEUCs5g0ige/n X-Received: by 10.223.147.100 with SMTP id 91mr12409592wro.124.1484321686841; Fri, 13 Jan 2017 07:34:46 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w18sm5007516wme.9.2017.01.13.07.34.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 07:34:46 -0800 (PST) From: Thomas Monjalon To: Wenfeng Liu Cc: dev@dpdk.org, Olivier Matz , konstantin.ananyev@intel.com Date: Fri, 13 Jan 2017 16:34:45 +0100 Message-ID: <6639896.1EaY9VD3xt@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170113162327.467538f9@platinum> References: <1484036802-3031-1-git-send-email-liuwf@arraynetworks.com.cn> <1484101528-8144-1-git-send-email-liuwf@arraynetworks.com.cn> <20170113162327.467538f9@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] mempool: use cache in single producer or consumer mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 15:34:47 -0000 2017-01-13 16:23, Olivier Matz: > On Wed, 11 Jan 2017 02:25:28 +0000, Wenfeng Liu > wrote: > > Currently we will check mempool flags when we put/get objects from > > mempool. However, this makes cache useless when mempool is SC|SP, > > SC|MP, MC|SP cases. > > This patch makes cache available in above cases and improves > > performance. > > > > Signed-off-by: Wenfeng Liu > > Acked-by: Olivier Matz Applied, thanks