From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: Re: [PATCH 2/4] mem: add API to obstain memory-backed file info Date: Tue, 12 Jan 2016 11:07:40 +0000 Message-ID: <5694DE7C.4050206@intel.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> <00de01d14d28$7c2eaf80$748c0e80$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: nakajima.yoshihiro@lab.ntt.co.jp, "'Michael S. Tsirkin'" , dev@dpdk.org, ann.zhuangyanying@huawei.com To: Pavel Fedin Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6807D8DB4 for ; Tue, 12 Jan 2016 12:08:04 +0100 (CET) In-Reply-To: <00de01d14d28$7c2eaf80$748c0e80$@samsung.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" Hi Pavel, On 12/01/2016 11:00, Pavel Fedin wrote: > 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. So are you suggesting to not introduce --single-file option but instead --shared-mem? AFAIK --single-file was trying to workaround the limitation of just being able to map 8 fds. Sergio > Kind regards, > Pavel Fedin > Senior Engineer > Samsung Electronics Research center Russia > >