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 16B29A0C41 for ; Fri, 16 Apr 2021 08:34:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCBFF40140; Fri, 16 Apr 2021 08:34:44 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id AA3BB40140 for ; Fri, 16 Apr 2021 08:34:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618554883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uovH/MI3OombA3QoN4KaXIp1DJoPwx45z6dzHwMwYQk=; b=dhHwJduJciiGp77mZilN0gtYZ04DzyaxlVY2BtSxpMZpg1cIo070OmF6AABUCxWxuJ9/UH uvJqgP3OCQaX/0thOH1tkjunYPnUYgtwaj3tvcf0VTV9gtkNbUd9ygS+3bXTdtDpR6FpxQ hTQY07LVYhgR07UwmFFf9lWCrw0pKsQ= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-602-8a7syLYdOwCUgeVi6YZ__g-1; Fri, 16 Apr 2021 02:34:41 -0400 X-MC-Unique: 8a7syLYdOwCUgeVi6YZ__g-1 Received: by mail-vk1-f197.google.com with SMTP id s75-20020a1f454e0000b02901e1192c9351so1216320vka.8 for ; Thu, 15 Apr 2021 23:34:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uovH/MI3OombA3QoN4KaXIp1DJoPwx45z6dzHwMwYQk=; b=R8VYV++UyPBppXLEjMDfqiTSinMSHc+8jYcRpKZaA7yzer3REYdgRMv1FrLZBLOfxp cFcUd7k4XRmVX32mIrf0qhuCV/nSENeOkY8vYXbwHFsjWJCUEjhwmG/k5LmWexBlYeHo N8NmndvB6JQFjN7aBv0R8LltA//SkcfvHrVfIze04cq/WDDCi+AzT7upw8u5V8aswkzQ B5pako0h6HZWuW7SXJ8lRyoIJP3xlYf5fJHby2EP8WjThlCOi+O9c6o/e/cMoU7O4WMd FR7aNozLXNj2B/k4S1+2lYXJO8vrqYk7pLSMGYYaDCrornSYGBL2MRzNscb9UNNduDIK BgHw== X-Gm-Message-State: AOAM533HtilOErkmkCbsXTbctXj1yFH8goe44fa35t0ZGtE+447FsKD/ WRg61lANnpC5pDtWOa7AUnqPV3NgbvXfKaas7/8KXwpurfTMBZGTNyJoJ9vd1oSbcXTq65JRY15 NK6FPkcIg286E4+IhiIsmltA= X-Received: by 2002:a67:e017:: with SMTP id c23mr111745vsl.10.1618554880831; Thu, 15 Apr 2021 23:34:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwED1nBmZp+Wo9Iqcm9aqGMvPgzTThD7oRaBbxGDjKtg0boipSxTQSuDDwbGBGouUC5ix7tf+Tswok4IFJMH80= X-Received: by 2002:a67:e017:: with SMTP id c23mr111742vsl.10.1618554880643; Thu, 15 Apr 2021 23:34:40 -0700 (PDT) MIME-Version: 1.0 References: <20210412082901.652736-1-kda@semihalf.com> In-Reply-To: <20210412082901.652736-1-kda@semihalf.com> From: David Marchand Date: Fri, 16 Apr 2021 08:34:29 +0200 Message-ID: To: Stanislaw Kardach Cc: Olivier Matz , dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 0/3] add lock-free stack support discovery X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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, Apr 12, 2021 at 10:29 AM Stanislaw Kardach wrote: > > The lock-free stack implementation (RTE_STACK_F_LF) is supported only on a > subset of platforms, namely x86_64 and arm64. Platforms supporting 128b atomics > have to opt-in to a generic or C11 implementations. All other platforms use a > stubbed implementation for push/pop operations which are basically NOPs. > However rte_stack_create() will not fail and application can proceed assuming > it has a working lock-free stack. Did you actually hit this issue or is this only theoretical? I can only think of ppc64 displaying such behavior. -- David Marchand