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 6BC34A04FD; Fri, 8 Apr 2022 17:19:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 586F44067E; Fri, 8 Apr 2022 17:19:41 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 09D8B4003F for ; Fri, 8 Apr 2022 17:19:40 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id kr12-20020a17090b490c00b001cb3ee2e4c1so2097768pjb.5 for ; Fri, 08 Apr 2022 08:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gfGzwCP8gmIf6OQ+LzBRFL9z3JYft608OA/yj3lGaCo=; b=YdS8rdeAcB4zK6w53MER+tdlvsMxRSXJeKOf/TW0GEUeM1HumyedEClHV0qE/6dcmD ddz5d/OyNolTNwAJOMTRoklLBTxcnDF0Tx91IKGlWGZKIb3DOUcVJdAB3eaI6k5sIJBb uascsq+Oh9Pc4fgp03CPliGMPW7AdNzDM+NkXnoXOxJPbddAQ3a8BrYSuff1U+j6eWgu baAtncyot8wY6rOqJpp8+5Zmpy+Bsfb5bzVlk0zWJRJSeBrbkdikXVfsMoXqSlj1xUQt v/PDpAu4JH+0Fuch8o5o1sn8rVgEKI/vhFsy5XDjrSni4AtWmQl0GGWHUsGBDXyRruJM 2bQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gfGzwCP8gmIf6OQ+LzBRFL9z3JYft608OA/yj3lGaCo=; b=HZgVUqtgopwpdmVI5G1zuZT5eGTvzcyEFkYe2lxixDkK8N+ZS4uhgdM6shBGrX8Dfu lnHM67JBZjR7rboQ5E/RwOuH4aRDCk0oPRQsdbDi5W3JBImRU1li/7/oaj59O0kwLhOp uoFvic4aoQKiNFpl0DjV6kuh86QRphl9pNL9JDgQI082kUakVYQpPxpmzmQ6CSDxfx3l PCTS7vJQ/GsnmSePx2XfGOJB1C/r3IxhK5/nJppuDJavp9godIG3T2LKdGtjzbs75wtz RE5ZF2CxbDmAlt6jman80Nrs+NWt6DJd/bJOoNkBX6NwKHtfP2NE/EEefYihV+bevW62 11kA== X-Gm-Message-State: AOAM530eVFiH9ltv3tnU/0nh4O/hvzyIeVvHAxbfx9K8IwxbAzeGm3rB Lb0uOEUbsPaXtiniY1tIYNYojA== X-Google-Smtp-Source: ABdhPJwzhCPofgcjjZSzmLVSXMsusQRCufXYuiGtiEQ1mPGR39N3METPGkHlwyJsFaQKu3Hu+BMMfw== X-Received: by 2002:a17:903:22c2:b0:154:565b:b273 with SMTP id y2-20020a17090322c200b00154565bb273mr20101955plg.115.1649431179311; Fri, 08 Apr 2022 08:19:39 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id kk11-20020a17090b4a0b00b001c73933d803sm12469524pjb.10.2022.04.08.08.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 08:19:38 -0700 (PDT) Date: Fri, 8 Apr 2022 08:19:36 -0700 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: , Thomas Monjalon , David Marchand , , , , , , , Ola Liljedahl Subject: Re: [PATCH v4] eal: add seqlock Message-ID: <20220408081936.079416c8@hermes.local> In-Reply-To: <20220408142442.157192-1-mattias.ronnblom@ericsson.com> References: <20220408142442.157192-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Fri, 8 Apr 2022 16:24:42 +0200 Mattias R=C3=B6nnblom wrote: > + /* A writer pegged the sequence number during the read operation. */ > + if (unlikely(begin_sn !=3D end_sn)) > + return true; In some countries "pegged" might be considered inappropriate slang. Use incremented or changed instead.