From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) by dpdk.org (Postfix) with ESMTP id A219B5A45 for ; Fri, 23 Oct 2015 19:50:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8516; q=dns/txt; s=iport; t=1445622633; x=1446832233; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=fyZlQVyb8fsNY+/0Noi/x3uH1iB37hqOQCd7geZ1I6s=; b=aNcoQdjgIBIkT8J8ehSMQsreOcbFSKAGUVOGkYkPrHG4WZSqLqRc9GpD TxVCVKozbwNperzH2HrukVfCAMPC/8P7fNFVaNUP4XpvMNXL48/yl4HZ1 ucPNVtRfcNhJKx0fcXWNSNNf4aAGpAOXgV/dfmRUg0HSs6L8q7LGnWZsn k=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0D6AQDqcSpW/4gNJK1egzaBQwa6BYQhAQ2BWYYdAhyBIjgUAQEBAQEBAYEKhDIBAQEEIwQNRQwEAgEIEQMBAgECAiYCAgIwFQgIAgQOBYgws0uSXQEBAQEBAQEBAQEBAQEBAQEBAQEBGYEiiU2BBoRyGwcGgmOBRQWHPYcHh2cBjR2BWIdjjnuDbwEfAQFCghEdFoE/cgGFPIEGAQEB X-IronPort-AV: E=Sophos;i="5.20,187,1444694400"; d="scan'208";a="200595480" Received: from alln-core-3.cisco.com ([173.36.13.136]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Oct 2015 17:50:31 +0000 Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id t9NHoVR0025840 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 23 Oct 2015 17:50:31 GMT Received: from xch-rcd-004.cisco.com (173.37.102.14) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 23 Oct 2015 12:50:10 -0500 Received: from xch-rcd-004.cisco.com ([173.37.102.14]) by XCH-RCD-004.cisco.com ([173.37.102.14]) with mapi id 15.00.1104.000; Fri, 23 Oct 2015 12:50:10 -0500 From: "shesha Sreenivasamurthy (shesha)" To: Sergio Gonzalez Monroy Thread-Topic: [dpdk-dev] [PATCH v3] mem: command line option to delete hugepage backing files Thread-Index: AQHRDBvgbQ3X6oaEs0+1a6gRQb16gJ51/8QAgAB4hACAARD/AIAAA08AgAGhi4CAAA65gA== Date: Fri, 23 Oct 2015 17:50:10 +0000 Message-ID: References: <1445419101-19690-1-git-send-email-shesha@cisco.com> <20151021163422.GA10344@bricha3-MOBL3> <5628A390.9080602@intel.com> <562A0499.6030302@intel.com> In-Reply-To: <562A0499.6030302@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.24.96.230] Content-Type: text/plain; charset="utf-8" Content-ID: <5AB1DBE85DDA594C946B098DF427CD1C@emea.cisco.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3] mem: command line option to delete hugepage backing files 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, 23 Oct 2015 17:50:34 -0000 VW5kZXJzdG9vZCBhbmQgdGhhbmtzIGZvciB0aGUgY2xhcmlmaWNhdGlvbi4gU2hvdWxkIEkgaGF2 ZSB0byByZS1zZW5kDQpwYXRjaCB2MyBvciBhcmUgd2UgZ29vZCBoZXJlID8NCg0KLS0NCi0gVGhh bmtzDQpjaGFyICogKCpzaGVzaG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