From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7B26EA0471 for ; Thu, 20 Jun 2019 14:32:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C35C1D3D9; Thu, 20 Jun 2019 14:32:09 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C8EF51D398 for ; Thu, 20 Jun 2019 14:32:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 05:32:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,396,1557212400"; d="scan'208";a="358925031" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga006.fm.intel.com with ESMTP; 20 Jun 2019 05:32:05 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.217]) by IRSMSX101.ger.corp.intel.com ([169.254.1.80]) with mapi id 14.03.0439.000; Thu, 20 Jun 2019 13:32:04 +0100 From: "Pattan, Reshma" To: Suanming.Mou , "dev@dpdk.org" CC: "Varghese, Vipin" , "Burakov, Anatoly" , "thomas@monjalon.net" Thread-Topic: [PATCH v9] app/pdump: exit with primary process Thread-Index: AQHVCstggqET/qwGlkSH0ho8J0G+YaakslLw Date: Thu, 20 Jun 2019 12:32:04 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A485C4E@irsmsx110.ger.corp.intel.com> References: <1556862508-61677-1-git-send-email-mousuanming@huawei.com> <1557897039-89555-1-git-send-email-mousuanming@huawei.com> In-Reply-To: <1557897039-89555-1-git-send-email-mousuanming@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmNmNjZjNjMtMmI4Ni00YjhjLWIzYjAtNGU3YjJhMzYxOTJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRXh5MXZIN3J1SU84dVhHXC9HNUVyc2FSS0RKQUFGdDNXUmtDXC8zRUZUTGZHWEZHMzRQV0VjcndleW5HYVNiQ2tRIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9] app/pdump: exit with primary process 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Suanming.Mou [mailto:mousuanming@huawei.com] > Sent: Wednesday, May 15, 2019 6:11 AM > To: dev@dpdk.org > Cc: Varghese, Vipin ; Burakov, Anatoly > ; thomas@monjalon.net; Pattan, Reshma > > Subject: [PATCH v9] app/pdump: exit with primary process >=20 > From: Suanming Mou >=20 > The pdump tool works as the secondary process. When the primary process > exits and the residual secondary process keeps running, it will make the > primary process can't start up again. Since the ex-fbarry files are still > attached by the secondary process pdump, the 'new' primary process can't > get these files locked. >=20 > The patch is to set up an alarm which runs every 0.5s periodically to mon= itor > the primary process in the pdump. Once the primary exits, so will the > pdump. >=20 > Signed-off-by: Suanming Mou > Reviewed-by: Anatoly Burakov > Reviewed-by: Vipin Varghese > Reviewed-by: Reshma Pattan > Reviewed-by: Thomas Monjalon > --- > V9: > * reword the comments and update the git log. > * move release note to release_19_08.rst. > * remove dot in name. >=20 Acked-by line is missing, so re acking. Keep my ack if you have to send nex= t version. Acked-by: Reshma Pattan