From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Fedin Subject: Re: [PATCH 2/4] mem: add API to obstain memory-backed file info Date: Tue, 12 Jan 2016 14:00:42 +0300 Message-ID: <00de01d14d28$7c2eaf80$748c0e80$@samsung.com> References: <1446748276-132087-1-git-send-email-jianfeng.tan@intel.com> <1452426182-86851-1-git-send-email-jianfeng.tan@intel.com> <1452426182-86851-3-git-send-email-jianfeng.tan@intel.com> <5694C36D.2040006@intel.com> <00d501d14d20$930c8ae0$b925a0a0$@samsung.com> <5694D9E9.6060704@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: nakajima.yoshihiro@lab.ntt.co.jp, "'Michael S. Tsirkin'" , dev@dpdk.org, ann.zhuangyanying@huawei.com To: "'Tan, Jianfeng'" , 'Rich Lane' Return-path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 36E448DB3 for ; Tue, 12 Jan 2016 12:00:46 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O0U00HYN6L8JZ80@mailout2.w1.samsung.com> for dev@dpdk.org; Tue, 12 Jan 2016 11:00:44 +0000 (GMT) In-reply-to: <5694D9E9.6060704@intel.com> Content-language: ru 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" Hello! > > BTW, i'm still unhappy about ABI breakage here. I think we could easily add --shared-mem > option, which would simply change mapping mode to SHARED. So, we could use it with both > hugepages (default) and plain mmap (with --no-hugepages). > > You mean, use "--no-hugepages --shared-mem" together, right? Yes. This would be perfectly backwards-compatible because. Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia