From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2158FA055C for ; Tue, 25 Feb 2020 23:26:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB4CB1BFB5; Tue, 25 Feb 2020 23:26:56 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 69DCD1BF8D; Tue, 25 Feb 2020 23:26:53 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 14:26:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,485,1574150400"; d="scan'208";a="436415214" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 25 Feb 2020 14:26:52 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Feb 2020 14:26:51 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 25 Feb 2020 14:26:50 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 25 Feb 2020 14:26:50 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Feb 2020 14:26:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bDej5QbNu/jSXAQBm3pm05epJ2eFbD49WPj3UkzzRYa52x91Pw9xJfAASeKIqBQ5BdAuI20pYbOzZfcJVeX6aqAwWaDYTIHiwERRKnruBKEE1PtHIzDeo14Jjl0EnNnjiOGi1TINjiqNW/oVwDsQGICdg5Aj+9Jph4XhJ7fPlf2JtT3bmfMVo/DH3lN2YhWEXj4S7iXFKmjAjsEvINaY7Tpdn5hPWu5rjL1OyyY0WbyqLn7J90jmNTmOpyEHnX0iDtKdd7pi2PxH3jCWXQbx1iASFFfKMYyW8IC19KsOPH9Vfjv58icBc+G31i9PsgJiCofzIjm6br0VHiOvJDecag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j248NQ2XCNNf/5HPfbgz/V0kFY0emGzxDInpzXRudec=; b=bMx1YVwwdQpnGd2ACW8Bw7aOxAKPeAKoaeNtyszKR9hPvc7657g2kC7XPoORNZlT1jVra8SJde8IK0aApDQW+GPfvPPtf8km5WVkbdXR+hdSK8DxOVJcgewexpfOplz/yBLjudgEPoapqSl6eTLiANVCoNjCpw/B+NoLHnPZJ+uwzx+uPn0Ankwk0Q2TPM7kTNIJ8/fveLK6wNiKfWYT4pE8lJ3w20+gSbUt7uMjRBIs1jc1zEihZsbisgkM3895YiEPhsElzwv2/rpjRrcDJWEF5tZe6PRDwVyQKws3rRZCvwSr7CXVBXG7pqs1zCdR+2E5wBcVMNWapx6FDHZ0mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j248NQ2XCNNf/5HPfbgz/V0kFY0emGzxDInpzXRudec=; b=Dc4H0eMuSkT9BKP2ISlAMwJWaQ/x1vYybLwh4bIAm0V6wyVXaGrXMqz5x+0coEpZPRWHj6er62Yg8b2zAlAorSQSgVrGnO4laUhgnKRGjflfqHihmL373Q0bBhh4EIVo1B+JrLh9rgLO+if1YRcDGtdm/1E1bDiZgqrdConJUis= Received: from BYAPR11MB3415.namprd11.prod.outlook.com (2603:10b6:a03:81::30) by BYAPR11MB3318.namprd11.prod.outlook.com (2603:10b6:a03:7d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Tue, 25 Feb 2020 22:26:25 +0000 Received: from BYAPR11MB3415.namprd11.prod.outlook.com ([fe80::bdb0:a744:9ff4:42c0]) by BYAPR11MB3415.namprd11.prod.outlook.com ([fe80::bdb0:a744:9ff4:42c0%7]) with mapi id 15.20.2750.021; Tue, 25 Feb 2020 22:26:25 +0000 From: "Carrillo, Erik G" To: Phil Yang , "rsanford@akamai.com" , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "Burakov, Anatoly" , "thomas@monjalon.net" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "Honnappa.Nagarahalli@arm.com" , "gavin.hu@arm.com" , "nd@arm.com" , "Honnappa Nagarahalli" , "stable@dpdk.org" Thread-Topic: [PATCH 1/2] lib/timer: protect timer subsystem initialized with lock Thread-Index: AQHV6t24XlNWQaOI9kGsSf3QfHKu7agsfucw Date: Tue, 25 Feb 2020 22:26:25 +0000 Message-ID: References: <1582526539-14360-1-git-send-email-phil.yang@arm.com> In-Reply-To: <1582526539-14360-1-git-send-email-phil.yang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=erik.g.carrillo@intel.com; x-originating-ip: [192.55.52.215] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3bd8411d-ba3b-4f69-4ec2-08d7ba41c058 x-ms-traffictypediagnostic: BYAPR11MB3318: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:747; x-forefront-prvs: 0324C2C0E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(199004)(189003)(81166006)(33656002)(81156014)(76116006)(8676002)(9686003)(8936002)(66946007)(66476007)(2906002)(4744005)(5660300002)(66556008)(4326008)(66446008)(7416002)(110136005)(64756008)(54906003)(53546011)(498600001)(26005)(52536014)(186003)(86362001)(71200400001)(6506007)(55016002)(7696005); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR11MB3318; H:BYAPR11MB3415.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Yg8FxbNW3iH1Bh/CWUoUO2S9q6bRJ65Ynb/MAhXhTjBv9MJRSiHJ3S5Yau331AKgeOTt2UZEA4Uw7OaWviodIRzRGvCw8V+nenb8j7uCo01hA12pu1iCFDO0vJTiImzYaLtAX0ualNC+OI4kLrgvAVojZXufbnVJmIP2esES2umlhlCps0Dj94lGm44qRt/rWW67rItoVBsYsLZ1bctvKs78KjFKjPaHrigekAy7R/Qi3zIgpK/UpEt7IlzWhJtX+xMBd8FnrGZ0Fq29JlqRL6lqn2DJOMYQgDM/G2APEpZ9y4FNmLZi3T0hmoRbBum8XQofB0CjThyMfKFSX4u5TiHYEl0fdpdlLLgr0I+2josyxyJjPNPHYZ+wGkQHfh0S/qFZjy3S5+2cfGcaZaPFFe5S7Cc2jbMIWj9bjMcEkS4+tuj2C0RbzC8oQMkcgk38 x-ms-exchange-antispam-messagedata: WTn+pr40cyCVHd01gUwEYMq7kvI5shmb65MPt775qgP3w3a0Z9PqjTMvlmNt/u4CDBAVk37OvrbSrrp7vPQ1J2kvfa1r/QoYy7k2AiQ0hpxJinuDHcAd69bE3WTWMxc56P8iB7M7UL/PhspbxTkUvg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3bd8411d-ba3b-4f69-4ec2-08d7ba41c058 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2020 22:26:25.6779 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nvLrt2xFqpZzQ0HIahm/uHh0udy3moXIRY8hoz4obpFuuuuo+fgJbaYbDJ8PGXs/m8rfccZymIHXC5k4NSq+vKCDpn7MXV/7Zd+itZwHl7Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3318 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH 1/2] lib/timer: protect timer subsystem initialized with lock X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: Phil Yang > Sent: Monday, February 24, 2020 12:42 AM > To: rsanford@akamai.com; Carrillo, Erik G ; > dev@dpdk.org > Cc: david.marchand@redhat.com; Burakov, Anatoly > ; thomas@monjalon.net; jerinj@marvell.com; > hemant.agrawal@nxp.com; Honnappa.Nagarahalli@arm.com; > gavin.hu@arm.com; phil.yang@arm.com; nd@arm.com; Honnappa > Nagarahalli ; stable@dpdk.org > Subject: [PATCH 1/2] lib/timer: protect timer subsystem initialized with = lock >=20 > From: Honnappa Nagarahalli >=20 > rte_timer_subsystem_initialized is a global variable that can be accessed= by > multiple processes simultaneously. Hence, any access to > rte_timer_subsystem_initialized should be protected by > rte_mcfg_timer_lock. >=20 > Fixes: f9d6cd8bfe9e ("timer: fix resource leak in finalize") > Cc: stable@dpdk.org >=20 > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Gavin Hu > Reviewed-by: Phil Yang Acked-by: Erik Gabriel Carrillo