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 3C8DCA05FE for ; Mon, 18 Mar 2019 16:02:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 080494C94; Mon, 18 Mar 2019 16:02:00 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id E3F56324D for ; Mon, 18 Mar 2019 16:01:55 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id v64so11455251pfb.1 for ; Mon, 18 Mar 2019 08:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v1detqFCDgFcW96juKnIBemEjEMncSe+hkwud8UnVX0=; b=Z3VTFYoX9qMlW1W6PE7zQARjoD/rIY+lZzedrHwRSZ67/8BiLdLTgsVUJM4vSjrAbb rMEeZ/Wc+CCSuiSDi2xT0UCzxkBndeo8r5d6W8SaMD0zjTVPqqoHgzqvCTNJrBE/WTBV YKjHbTEzjvhAokdyIgF5vbrN2W1tPRYxMtir3EuJFW8OV1VLxDtfCJeie+jIWNq2LC+r 4jlx+rRsYpVrSjMP8lWgfWMbppXDUDZWfZ5BjK52eoQhdyVDYstA+tlDlreLKHE9GJiI gqy/OkIIqMoObaZZXNqKDFlSWu7U3EI+gijIIoMzSSJD3Mw0f7V60DNr6egee9FkYLrr dWwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v1detqFCDgFcW96juKnIBemEjEMncSe+hkwud8UnVX0=; b=cDQNW9b8c1nnRYp7dC1qx1RX1e9DRbBhoZvIj7vDWI9zTpDcGClajJ2FdPHgicBiIF zRBhKlaaVY2TuJ1e8EmYintgik8ZFyVszU+o1/PohGU+xBGtk1dYSoIniPGJZKBv/4fC fmbleuHjbfC/M/0ho/7RsvPxhRINgqIO6dG7eCNoEdTkikrVkypJIoMw6EmjbV0osQbz B8/wCzkjm3iYhrQRTo9BDrmR/nYW1xctdQGApgXXQpVoYRm4BI6FA5qPEDw2SOQbCSe6 04KtVUt1nWfQVg3serOkxuT6uBxPcEk5q1aztaungs52F9lzhTbHGdMP26VNwcWcNKVX tNMg== X-Gm-Message-State: APjAAAX2syf3C0uVbuJb11CXvHV1e3wllfZ4gtARLH2g80pNvcJoHM0b HasIrMtr2PpDZHv4LUAafnkZIA== X-Google-Smtp-Source: APXvYqyqZ+dFGLhzoyBBd7OXb5FWMg2KJ9h+FGd3dtQHzN9kQ6NUstr0HvJl06V4IiiYtf/j1GBgZA== X-Received: by 2002:a17:902:681:: with SMTP id 1mr13502752plh.31.1552921314913; Mon, 18 Mar 2019 08:01:54 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g2sm25414490pfm.144.2019.03.18.08.01.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2019 08:01:54 -0700 (PDT) Date: Mon, 18 Mar 2019 08:01:50 -0700 From: Stephen Hemminger To: Hajkowski Cc: david.hunt@intel.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20190318080150.62154337@shemminger-XPS-13-9360> In-Reply-To: <20190318115647.14784-1-marcinx.hajkowski@intel.com> References: <20190318115647.14784-1-marcinx.hajkowski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2 1/4] power: fix non thread-safe power env modification 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" On Mon, 18 Mar 2019 12:56:44 +0100 Hajkowski wrote: > From: Marcin Hajkowski > > Due to lack of thread safety in exisiting solution > use spinlock mechanism for atomic > modification of power environment related data. > > Fixes: 445c6528b5 ("power: common interface for guest and host") > Cc: stable@dpdk.org > > Signed-off-by: Marcin Hajkowski Thanks for making this library better. When I did the dpdk-metrics investigation at the US DPDK summit, the power library was one of the DPDK libraries that no upstream open source project uses. You might want to consider: * why is no project using it? what is wrong? * does it not fit any use case in any project should it continue? * if it is for a non-open source customer, then why is it part of DPDK?