From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 692965954 for ; Fri, 7 Aug 2015 17:23:45 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 07 Aug 2015 08:23:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,630,1432623600"; d="scan'208";a="779755561" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga002.jf.intel.com with ESMTP; 07 Aug 2015 08:23:43 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.130]) by IRSMSX106.ger.corp.intel.com ([169.254.8.137]) with mapi id 14.03.0224.002; Fri, 7 Aug 2015 16:23:42 +0100 From: "Burakov, Anatoly" To: "harpal.sd@samsung.com" , "dev@dpdk.org" Thread-Topic: RE: [dpdk-dev] [PATCH 1/3] vfio: Added hot removal feature for vfio Thread-Index: AQHQ0R/lI8l3OTKsqkSTLq3uu0ilxZ4AptAg Date: Fri, 7 Aug 2015 15:23:42 +0000 Message-ID: References: <6F.6F.25195.454C4C55@epcpsbgx4.samsung.com> In-Reply-To: <6F.6F.25195.454C4C55@epcpsbgx4.samsung.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "cpgs@samsung.com" Subject: Re: [dpdk-dev] [PATCH 1/3] vfio: Added hot removal feature for vfio 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: Fri, 07 Aug 2015 15:23:45 -0000 Hi Harpal, > I think maintaining a ref count of groups will solve this problem.=20 Yes, refcounting seems like the best way to solve this problem. > Additionally, I have found a bug in existing design in case of multiple d= evices of same group.=20 > <...> > Therefore, I will provide a fix=A0for this as well in my next version. That should probably be in a separate patch. Thanks, Anatoly