From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EE3AFA0560; Tue, 18 Oct 2022 03:57:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BE654114B; Tue, 18 Oct 2022 03:57:29 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 40E4241144 for ; Tue, 18 Oct 2022 03:57:26 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id h2so5103639plb.2 for ; Mon, 17 Oct 2022 18:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R7zMuyXwbelfGDXM81QtRXJry+gjIhI+ox8cKIyNtGc=; b=qn7rXTeUrks7Fa4bnDAxjyz2c56OeTR8bV6xdZoQbvV04mMDpe9dKwQ//TpXnhFsj4 BzRJ0307CMJZjk3YcG3CoFJZmmstp8GtCCbM8FnaKywLF5zbfuc9UrUqLoMdOGNoijQq dCngnWPP+92mtk/4eMOBx9/RnLtAraTv9xNkmn6vmyQMZzXI/D0MXRMCXyVt54F9Fn5D xOdoUKUY5VK5Pap8+OBLGHHsGpVUFlE2MrSfuCOyHbj7MgZFdzK0+vtxMxsA4nRTWhSu BsInOOiSPsLtKk/CwSKFb+vFQ7L10HgHFVuNHPw/eZz33byz0aiO47al9ziu5IvOaYvl NG5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R7zMuyXwbelfGDXM81QtRXJry+gjIhI+ox8cKIyNtGc=; b=m6c+fCw/NQZiL4GQxJ/EsGZOVMKNCMsFqP2VraqVTpaVllAu3Pdm1mbea6OZDS+3m7 E4tmLpNWIn5WcBe2sfVQ2Ht7mjfI0GoVE+Gd+LNhbstZC61ItssdDj8QhCTgTZ/dH0il 1sIPhGz5WawrlNGAoLEfEhL0UwERPq8x6YPpWafjJHiba1CrpeHKaYptz9KaRsHoHUwf 17su1L9njdN7ZWW9BUjACVjH1KrJzZDjVrVvDE1a0QWhVSX6DaH7JdjBoC3ve8BZzhiY bYpi9B7g71Nqq/BlSRjtuLtZyCl9jwVpHt4KEeBYPgNTXu29QfvlStElJMFvDS/iN4BA ewiw== X-Gm-Message-State: ACrzQf24xjlW9mkt//1MhgNoiOI/bxLs9DLZ7IHHHGIolUeXXoK+0o+L 0Iqno4KdYLph3LWNj+4fVd1tnjbOOZn+bQ== X-Google-Smtp-Source: AMsMyM4qP5scWoEZ2NovbRenS5td3l6ttlFuzrElaiWELTddBf4Y8DiiuFBYfF+Rq3uBLfV3iK1/uA== X-Received: by 2002:a17:90b:1bc9:b0:20d:b990:5028 with SMTP id oa9-20020a17090b1bc900b0020db9905028mr24699021pjb.111.1666058245267; Mon, 17 Oct 2022 18:57:25 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u15-20020a17090341cf00b0017f93a4e330sm7210064ple.193.2022.10.17.18.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 18:57:24 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 3/3] rwlock: make trylock operations no longer experimental Date: Mon, 17 Oct 2022 18:57:20 -0700 Message-Id: <20221018015720.411702-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221018015720.411702-1-stephen@networkplumber.org> References: <20221018015720.411702-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These have been in for since 19.02, time to take off the experimental tag. Signed-off-by: Stephen Hemminger --- lib/eal/include/generic/rte_rwlock.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/generic/rte_rwlock.h b/lib/eal/include/generic/rte_rwlock.h index 90f77dfe23b0..233d4262bede 100644 --- a/lib/eal/include/generic/rte_rwlock.h +++ b/lib/eal/include/generic/rte_rwlock.h @@ -108,10 +108,7 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * - * try to take a read lock. + * Try to take a read lock. * * @param rwl * A pointer to a rwlock structure. @@ -120,7 +117,6 @@ rte_rwlock_read_lock(rte_rwlock_t *rwl) * - -EBUSY if lock could not be acquired for reading because a * writer holds the lock */ -__rte_experimental static inline int rte_rwlock_read_trylock(rte_rwlock_t *rwl) { @@ -159,10 +155,7 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * - * try to take a write lock. + * Try to take a write lock. * * @param rwl * A pointer to a rwlock structure. @@ -171,7 +164,6 @@ rte_rwlock_read_unlock(rte_rwlock_t *rwl) * - -EBUSY if lock could not be acquired for writing because * it was already locked for reading or writing */ -__rte_experimental static inline int rte_rwlock_write_trylock(rte_rwlock_t *rwl) { -- 2.35.1